clang 20.0.0git
|
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"
Public Member Functions | |
bool | isValid () const |
bool | isInvalid () const |
bool | operator== (const FileID &RHS) const |
bool | operator< (const FileID &RHS) const |
bool | operator<= (const FileID &RHS) const |
bool | operator!= (const FileID &RHS) const |
bool | operator> (const FileID &RHS) const |
bool | operator>= (const FileID &RHS) const |
unsigned | getHashValue () const |
Static Public Member Functions | |
static FileID | getSentinel () |
Friends | |
class | ASTWriter |
class | ASTReader |
class | SourceManager |
class | SourceManagerTestHelper |
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.
|
inline |
Definition at line 56 of file SourceLocation.h.
Referenced by clang::html::AddLineNumbers(), and clang::syntax::operator<<().
|
inlinestatic |
Definition at line 55 of file SourceLocation.h.
Referenced by llvm::DenseMapInfo< clang::FileID, void >::getTombstoneKey().
|
inline |
Definition at line 46 of file SourceLocation.h.
Referenced by clang::ASTUnit::addFileLevelDecl(), 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::initializeForReplay(), clang::SourceManager::isAtEndOfImmediateMacroExpansion(), clang::SourceManager::isAtStartOfImmediateMacroExpansion(), clang::PreprocessingRecord::isEntityInFileID(), clang::ASTUnit::isInMainFileID(), clang::ASTUnit::isInPreambleFileID(), clang::edit::FileOffset::isInvalid(), clang::ASTReader::isPreprocessedEntityInFileID(), makeRangeFromFileLocs(), clang::ASTUnit::mapLocationFromPreamble(), clang::ASTUnit::mapLocationToPreamble(), ParseDirective(), recordNullabilitySeen(), clang::SourceManager::setPreambleFileID(), clang::SourceManager::translateLineCol(), and clang::VerifyDiagnosticConsumer::UpdateParsedFileStatus().
|
inline |
Definition at line 45 of file SourceLocation.h.
Referenced by applyRewrite(), compileModule(), clang::Preprocessor::creatingPCHWithThroughHeader(), clang::Preprocessor::EnterMainSourceFile(), clang::LogDiagnosticPrinter::HandleDiagnostic(), clang::Preprocessor::HandleEndOfFile(), clang::ASTImporter::Import(), clang::CompilerInstance::InitializeSourceManager(), clang::InBeforeInTUCacheEntry::isCacheValid(), clang::SourceManager::isMainFile(), clang::Preprocessor::isPCHThroughHeader(), isPreprocessedEntityIfInFileID(), clang::ASTReader::ReadAST(), clang::ASTReader::ReadPragmaDiagnosticMappings(), updateExecutedLinesWithDiagnosticPieces(), and clang::Preprocessor::usingPCHWithThroughHeader().
Definition at line 51 of file SourceLocation.h.
Definition at line 49 of file SourceLocation.h.
Definition at line 50 of file SourceLocation.h.
Definition at line 48 of file SourceLocation.h.
Definition at line 52 of file SourceLocation.h.
Definition at line 53 of file SourceLocation.h.
|
friend |
Definition at line 60 of file SourceLocation.h.
|
friend |
Definition at line 59 of file SourceLocation.h.
|
friend |
Definition at line 61 of file SourceLocation.h.
|
friend |
Definition at line 62 of file SourceLocation.h.