HomeSort by relevance Sort by last modified time
    Searched refs:CXSourceLocation (Results 1 - 13 of 13) sorted by null

  /external/clang/tools/libclang/
CXSourceLocation.h 1 //===- CXSourceLocation.h - CXSourceLocations Utilities ---------*- C++ -*-===//
29 static inline CXSourceLocation
35 CXSourceLocation Result = { { &SM, &LangOpts, },
41 static inline CXSourceLocation translateSourceLocation(ASTContext &Context,
66 static inline SourceLocation translateSourceLocation(CXSourceLocation L) {
CXSourceLocation.cpp 1 //===- CXSourceLocation.cpp - CXSourceLocations APIs ------------*- C++ -*-===//
18 #include "CXSourceLocation.h"
31 static bool isASTUnitSourceLocation(const CXSourceLocation &L) {
33 // pointer, or the CXSourceLocation is a null location.
43 CXSourceLocation clang_getNullLocation() {
44 CXSourceLocation Result = { { nullptr, nullptr }, 0 };
48 unsigned clang_equalLocations(CXSourceLocation loc1, CXSourceLocation loc2) {
59 CXSourceRange clang_getRange(CXSourceLocation begin, CXSourceLocation end)
    [all...]
CXLoadedDiagnostic.h 35 CXSourceLocation getLocation() const override;
66 /// \brief Decode the CXSourceLocation into file, line, column, and offset.
67 static void decodeLocation(CXSourceLocation location,
CIndexDiagnostic.h 65 virtual CXSourceLocation getLocation() const = 0;
126 CXSourceLocation getLocation() const override;
CIndexDiagnostic.cpp 16 #include "CXSourceLocation.h"
45 CXSourceLocation Loc;
47 CXDiagnosticCustomNoteImpl(StringRef Msg, CXSourceLocation L)
57 CXSourceLocation getLocation() const override {
124 CXSourceLocation L;
146 CXSourceLocation L;
385 CXSourceLocation clang_getDiagnosticLocation(CXDiagnostic Diag) {
CXLoadedDiagnostic.cpp 93 static CXSourceLocation makeLocation(const CXLoadedDiagnostic::Location *DLoc) {
98 CXSourceLocation Loc = { { (void*) V, nullptr }, 0 };
102 CXSourceLocation CXLoadedDiagnostic::getLocation() const {
151 void CXLoadedDiagnostic::decodeLocation(CXSourceLocation location,
158 // CXSourceLocation consists of the following fields:
305 CXSourceLocation startLoc = makeLocation(Start);
306 CXSourceLocation endLoc = makeLocation(End);
CIndexInclusionStack.cpp 16 #include "CXSourceLocation.h"
31 SmallVector<CXSourceLocation, 10> InclusionStack;
CLog.h 71 Logger &operator<<(CXSourceLocation);
CXStoredDiagnostic.cpp 17 #include "CXSourceLocation.h"
44 CXSourceLocation CXStoredDiagnostic::getLocation() const {
CIndex.cpp 19 #include "CXSourceLocation.h"
    [all...]
Indexing.cpp 15 #include "CXSourceLocation.h"
    [all...]
  /external/clang/include/clang-c/
Index.h 370 } CXSourceLocation;
387 CINDEX_LINKAGE CXSourceLocation clang_getNullLocation(void);
397 CINDEX_LINKAGE unsigned clang_equalLocations(CXSourceLocation loc1,
398 CXSourceLocation loc2);
404 CINDEX_LINKAGE CXSourceLocation clang_getLocation(CXTranslationUnit tu,
412 CINDEX_LINKAGE CXSourceLocation clang_getLocationForOffset(CXTranslationUnit tu,
419 CINDEX_LINKAGE int clang_Location_isInSystemHeader(CXSourceLocation location);
425 CINDEX_LINKAGE int clang_Location_isFromMainFile(CXSourceLocation location);
436 CINDEX_LINKAGE CXSourceRange clang_getRange(CXSourceLocation begin,
437 CXSourceLocation end)
    [all...]
  /external/clang/tools/c-index-test/
c-index-test.c 699 CXSourceLocation Loc;
709 CXSourceLocation Loc = clang_getCursorLocation(Referenced);
832 CXSourceLocation Loc = clang_getCursorLocation(SpecializationOf);
874 CXSourceLocation Loc = clang_getCursorLocation(overridden[I]);
964 CXSourceLocation Loc = clang_getCursorLocation(Cursor);
    [all...]

Completed in 57 milliseconds