struct CXUnsavedFile

Declaration

struct CXUnsavedFile { /* full declaration omitted */ };

Description

Provides the contents of a file that has not yet been saved to disk. Each CXUnsavedFile instance provides the name of a file on the system along with the current contents of that file that have not yet been saved to disk.

Declared at: clang/include/clang-c/Index.h:101

Member Variables

public const char* Filename
This file must already exist in the file system.
public const char* Contents
A buffer containing the unsaved contents of this file.
public unsigned long Length
The length of the unsaved contents of this buffer.