clang: clang::FileID Class Reference (original) (raw)
An opaque identifier used by SourceManager which refers to a source file (MemoryBuffer) along with its #include path and #line data. More...
#include "[clang/Basic/SourceLocation.h](SourceLocation%5F8h%5Fsource.html)"
An opaque identifier used by SourceManager which refers to a source file (MemoryBuffer) along with its #include path and #line data.
Definition at line 39 of file SourceLocation.h.
◆ getHashValue()
| unsigned clang::FileID::getHashValue ( ) const |
inline |
◆ getSentinel()
| FileID clang::FileID::getSentinel ( ) |
inlinestatic |
◆ isInvalid()
| bool clang::FileID::isInvalid ( ) const |
inline |
Definition at line 46 of file SourceLocation.h.
Referenced by checkConfigMacro(), checkNullabilityConsistency(), findDirectives(), clang::SourceManager::getDecomposedIncludedLoc(), clang::ASTUnit::getEndOfPreambleFileID(), clang::SourceManager::getLineNumber(), clang::SourceManager::getMacroArgExpandedLocation(), getNullabilityCompletenessCheckFileID(), clang::ASTUnit::getStartOfMainFileID(), clang::ento::PathDiagnosticConsumer::HandlePathDiagnostic(), clang::ASTImporter::Import(), clang::index::IndexingContext::importedModule(), clang::SourceManager::isAtEndOfImmediateMacroExpansion(), clang::SourceManager::isAtStartOfImmediateMacroExpansion(), clang::PreprocessingRecord::isEntityInFileID(), clang::ASTUnit::isInMainFileID(), clang::ASTUnit::isInPreambleFileID(), clang::ASTReader::isPreprocessedEntityInFileID(), clang::ASTUnit::mapLocationFromPreamble(), clang::ASTUnit::mapLocationToPreamble(), ParseDirective(), recordNullabilitySeen(), clang::ASTReader::TranslateFileID(), clang::SourceManager::translateLineCol(), and clang::VerifyDiagnosticConsumer::UpdateParsedFileStatus().
◆ isValid()
| bool clang::FileID::isValid ( ) const |
inline |
◆ operator!=()
| bool clang::FileID::operator!= ( const FileID & RHS) const |
inline |
◆ operator<()
| bool clang::FileID::operator< ( const FileID & RHS) const |
inline |
◆ operator<=()
| bool clang::FileID::operator<= ( const FileID & RHS) const |
inline |
◆ operator==()
| bool clang::FileID::operator== ( const FileID & RHS) const |
inline |
◆ operator>()
| bool clang::FileID::operator> ( const FileID & RHS) const |
inline |
◆ operator>=()
| bool clang::FileID::operator>= ( const FileID & RHS) const |
inline |
◆ ASTReader
◆ ASTWriter
◆ SourceManager
◆ SourceManagerTestHelper
| friend class SourceManagerTestHelper |
friend |
The documentation for this class was generated from the following file: