|
clang 22.0.0git
|
Defines the clang::SourceLocation class and associated facilities. More...
#include "clang/Basic/FileEntry.h"#include "clang/Basic/LLVM.h"#include "llvm/ADT/StringRef.h"#include <cassert>#include <cstdint>#include <string>#include <utility>Go to the source code of this file.
Classes | |
| class | clang::FileID |
| An opaque identifier used by SourceManager which refers to a source file (MemoryBuffer) along with its #include path and #line data. More... | |
| class | clang::SourceLocation |
| Encodes a location in the source. More... | |
| class | clang::SourceRange |
| A trivial tuple used to represent a source range. More... | |
| class | clang::CharSourceRange |
| Represents a character-granular source range. More... | |
| class | clang::PresumedLoc |
| Represents an unpacked "presumed" location which can be presented to the user. More... | |
| class | clang::FullSourceLoc |
| A SourceLocation and its associated SourceManager. More... | |
| struct | clang::FullSourceLoc::BeforeThanCompare |
| Comparison function class, useful for sorting FullSourceLocs. More... | |
| struct | llvm::DenseMapInfo< clang::FileID, void > |
| Define DenseMapInfo so that FileID's can be used as keys in DenseMap and DenseSets. More... | |
| struct | llvm::DenseMapInfo< clang::SourceLocation, void > |
| Define DenseMapInfo so that SourceLocation's can be used as keys in DenseMap and DenseSet. More... | |
| struct | llvm::FoldingSetTrait< clang::SourceLocation, void > |
Namespaces | |
| namespace | llvm |
| Diagnostic wrappers for TextAPI types for error reporting. | |
| namespace | clang |
| The JSON file list parser is used to communicate input to InstallAPI. | |
Typedefs | |
| using | clang::FileIDAndOffset = std::pair<FileID, unsigned> |
Functions | |
| bool | clang::operator== (const SourceLocation &LHS, const SourceLocation &RHS) |
| bool | clang::operator!= (const SourceLocation &LHS, const SourceLocation &RHS) |
| bool | clang::operator< (const SourceLocation &LHS, const SourceLocation &RHS) |
| bool | clang::operator> (const SourceLocation &LHS, const SourceLocation &RHS) |
| bool | clang::operator<= (const SourceLocation &LHS, const SourceLocation &RHS) |
| bool | clang::operator>= (const SourceLocation &LHS, const SourceLocation &RHS) |
Defines the clang::SourceLocation class and associated facilities.
Definition in file SourceLocation.h.