clang API Documentation

Classes | Namespaces | Functions
SourceLocation.h File Reference

Defines the clang::SourceLocation class and associated facilities. More...

#include "clang/Basic/LLVM.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/PointerLikeTypeTraits.h"
#include <cassert>
#include <functional>
#include <string>
#include <utility>
Include dependency graph for SourceLocation.h:

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. The SourceManager can decode this to get at the full include stack, line and column information. 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::FullSourceLoc
 A SourceLocation and its associated SourceManager. More...
struct  clang::FullSourceLoc::BeforeThanCompare
 Comparison function class, useful for sorting FullSourceLocs. More...
class  clang::PresumedLoc
 Represents an unpacked "presumed" location which can be presented to the user. More...
struct  llvm::DenseMapInfo< clang::FileID >
struct  llvm::isPodLike< clang::SourceLocation >
struct  llvm::isPodLike< clang::FileID >
class  llvm::PointerLikeTypeTraits< clang::SourceLocation >

Namespaces

namespace  llvm
namespace  clang

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)

Detailed Description

Defines the clang::SourceLocation class and associated facilities.

Definition in file SourceLocation.h.