| Package | Description |
|---|---|
| org.bytedeco.llvm.clang | |
| org.bytedeco.llvm.global |
| Modifier and Type | Method and Description |
|---|---|
CXFile |
CXIdxIncludedFileInfo.file()
The actual file that the \#include/\#import directive resolved to.
|
CXFile |
CXIdxImportedASTFileInfo.file()
Top level AST file containing the imported PCH, module or submodule.
|
| Modifier and Type | Method and Description |
|---|---|
CXIdxClientFile |
IndexerCallbacks.EnteredMainFile_CXClientData_CXFile_Pointer.call(CXClientData client_data,
CXFile mainFile,
Pointer reserved) |
void |
CXInclusionVisitor.call(CXFile included_file,
CXSourceLocation inclusion_stack,
int include_len,
CXClientData client_data) |
CXIdxIncludedFileInfo |
CXIdxIncludedFileInfo.file(CXFile setter) |
CXIdxImportedASTFileInfo |
CXIdxImportedASTFileInfo.file(CXFile setter) |
| Modifier and Type | Method and Description |
|---|---|
static CXFile |
clang.clang_getFile(CXTranslationUnit tu,
BytePointer file_name)
Retrieve a file handle within the given translation unit.
|
static CXFile |
clang.clang_getFile(CXTranslationUnit tu,
String file_name) |
static CXFile |
clang.clang_getIncludedFile(CXCursor cursor)
Retrieve the file that is included by the given inclusion directive
cursor.
|
static CXFile |
clang.clang_Module_getASTFile(CXModule Module) |
static CXFile |
clang.clang_Module_getTopLevelHeader(CXTranslationUnit arg0,
CXModule Module,
int Index) |
| Modifier and Type | Method and Description |
|---|---|
static int |
clang.clang_File_isEqual(CXFile file1,
CXFile file2)
Returns non-zero if the \c file1 and \c file2 point to the same file,
or they are both NULL.
|
static CXString |
clang.clang_File_tryGetRealPathName(CXFile file)
Returns the real path name of \c file.
|
static int |
clang.clang_findIncludesInFile(CXTranslationUnit TU,
CXFile file,
CXCursorAndRangeVisitor visitor)
Find #import/#include directives in a specific file.
|
static int |
clang.clang_findReferencesInFile(CXCursor cursor,
CXFile file,
CXCursorAndRangeVisitor visitor)
Find references of a declaration in a specific file.
|
static void |
clang.clang_getExpansionLocation(CXSourceLocation location,
CXFile file,
int[] line,
int[] column,
int[] offset) |
static void |
clang.clang_getExpansionLocation(CXSourceLocation location,
CXFile file,
IntBuffer line,
IntBuffer column,
IntBuffer offset) |
static void |
clang.clang_getExpansionLocation(CXSourceLocation location,
CXFile file,
IntPointer line,
IntPointer column,
IntPointer offset)
Retrieve the file, line, column, and offset represented by
the given source location.
|
static BytePointer |
clang.clang_getFileContents(CXTranslationUnit tu,
CXFile file,
SizeTPointer size)
Retrieve the buffer associated with the given file.
|
static void |
clang.clang_getFileLocation(CXSourceLocation location,
CXFile file,
int[] line,
int[] column,
int[] offset) |
static void |
clang.clang_getFileLocation(CXSourceLocation location,
CXFile file,
IntBuffer line,
IntBuffer column,
IntBuffer offset) |
static void |
clang.clang_getFileLocation(CXSourceLocation location,
CXFile file,
IntPointer line,
IntPointer column,
IntPointer offset)
Retrieve the file, line, column, and offset represented by
the given source location.
|
static CXString |
clang.clang_getFileName(CXFile SFile)
Retrieve the complete file and path name of the given file.
|
static Pointer |
clang.clang_getFileTime(CXFile SFile)
Retrieve the last modification time of the given file.
|
static int |
clang.clang_getFileUniqueID(CXFile file,
CXFileUniqueID outID)
Retrieve the unique ID for the given \c file.
|
static void |
clang.clang_getInstantiationLocation(CXSourceLocation location,
CXFile file,
int[] line,
int[] column,
int[] offset) |
static void |
clang.clang_getInstantiationLocation(CXSourceLocation location,
CXFile file,
IntBuffer line,
IntBuffer column,
IntBuffer offset) |
static void |
clang.clang_getInstantiationLocation(CXSourceLocation location,
CXFile file,
IntPointer line,
IntPointer column,
IntPointer offset)
Legacy API to retrieve the file, line, column, and offset represented
by the given source location.
|
static CXSourceLocation |
clang.clang_getLocation(CXTranslationUnit tu,
CXFile file,
int line,
int column)
Retrieves the source location associated with a given file/line/column
in a particular translation unit.
|
static CXSourceLocation |
clang.clang_getLocationForOffset(CXTranslationUnit tu,
CXFile file,
int offset)
Retrieves the source location associated with a given character offset
in a particular translation unit.
|
static CXModule |
clang.clang_getModuleForFile(CXTranslationUnit arg0,
CXFile arg1)
Given a CXFile header file, return the module that contains it, if one
exists.
|
static CXSourceRangeList |
clang.clang_getSkippedRanges(CXTranslationUnit tu,
CXFile file)
Retrieve all ranges that were skipped by the preprocessor.
|
static void |
clang.clang_getSpellingLocation(CXSourceLocation location,
CXFile file,
int[] line,
int[] column,
int[] offset) |
static void |
clang.clang_getSpellingLocation(CXSourceLocation location,
CXFile file,
IntBuffer line,
IntBuffer column,
IntBuffer offset) |
static void |
clang.clang_getSpellingLocation(CXSourceLocation location,
CXFile file,
IntPointer line,
IntPointer column,
IntPointer offset)
Retrieve the file, line, column, and offset represented by
the given source location.
|
static void |
clang.clang_indexLoc_getFileLocation(CXIdxLoc loc,
CXIdxClientFile indexFile,
CXFile file,
int[] line,
int[] column,
int[] offset) |
static void |
clang.clang_indexLoc_getFileLocation(CXIdxLoc loc,
CXIdxClientFile indexFile,
CXFile file,
IntBuffer line,
IntBuffer column,
IntBuffer offset) |
static void |
clang.clang_indexLoc_getFileLocation(CXIdxLoc loc,
CXIdxClientFile indexFile,
CXFile file,
IntPointer line,
IntPointer column,
IntPointer offset)
Retrieve the CXIdxFile, file, line, column, and offset represented by
the given CXIdxLoc.
|
static int |
clang.clang_isFileMultipleIncludeGuarded(CXTranslationUnit tu,
CXFile file)
Determine whether the given header is guarded against
multiple inclusions, either with the conventional
\#ifndef/\#define/\#endif macro guards or with \#pragma once.
|
Copyright © 2025. All rights reserved.