HomeSort by relevance Sort by last modified time
    Searched refs:SourceLocation (Results 1 - 25 of 387) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/angle_dx11/src/compiler/preprocessor/
SourceLocation.h 13 struct SourceLocation
15 SourceLocation() : file(0), line(0) { }
16 SourceLocation(int f, int l) : file(f), line(l) { }
18 bool equals(const SourceLocation& other) const
27 inline bool operator==(const SourceLocation& lhs, const SourceLocation& rhs)
32 inline bool operator!=(const SourceLocation& lhs, const SourceLocation& rhs)
DirectiveHandlerBase.h 15 struct SourceLocation;
26 virtual void handleError(const SourceLocation& loc,
30 virtual void handlePragma(const SourceLocation& loc,
34 virtual void handleExtension(const SourceLocation& loc,
38 virtual void handleVersion(const SourceLocation& loc,
  /external/clang/include/clang/Lex/
PPConditionalDirectiveRecord.h 17 #include "clang/Basic/SourceLocation.h"
29 SmallVector<SourceLocation, 6> CondDirectiveStack;
32 SourceLocation Loc;
33 SourceLocation RegionLoc;
36 CondDirectiveLoc(SourceLocation Loc, SourceLocation RegionLoc)
39 SourceLocation getLoc() const { return Loc; }
40 SourceLocation getRegionLoc() const { return RegionLoc; }
50 bool operator()(const CondDirectiveLoc &LHS, SourceLocation RHS) {
53 bool operator()(SourceLocation LHS, const CondDirectiveLoc &RHS)
    [all...]
ScratchBuffer.h 17 #include "clang/Basic/SourceLocation.h"
28 SourceLocation BufferStartLoc;
34 /// return a SourceLocation that refers to the token. This is just like the
37 SourceLocation getToken(const char *Buf, unsigned Len, const char *&DestPtr);
TokenLexer.h 17 #include "clang/Basic/SourceLocation.h"
64 SourceLocation ExpandLocStart, ExpandLocEnd;
68 SourceLocation MacroExpansionStart;
75 SourceLocation MacroDefStart;
101 TokenLexer(Token &Tok, SourceLocation ILEnd, MacroInfo *MI,
111 void Init(Token &Tok, SourceLocation ILEnd, MacroInfo *MI,
175 SourceLocation getExpansionLocForMacroDefLoc(SourceLocation loc) const;
182 void updateLocForMacroArgTokens(SourceLocation ArgIdSpellLoc,
PPCallbacks.h 19 #include "clang/Basic/SourceLocation.h"
27 class SourceLocation;
49 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
120 virtual void InclusionDirective(SourceLocation HashLoc,
141 virtual void moduleImport(SourceLocation ImportLoc,
156 virtual void Ident(SourceLocation Loc, const std::string &str) {
160 virtual void PragmaDirective(SourceLocation Loc,
165 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind,
171 virtual void PragmaDetectMismatch(SourceLocation Loc,
179 virtual void PragmaDebug(SourceLocation Loc, StringRef DebugType)
    [all...]
  /external/clang/include/clang/AST/
SelectorLocationsKind.h 22 class SourceLocation;
47 ArrayRef<SourceLocation> SelLocs,
49 SourceLocation EndLoc);
57 SourceLocation getStandardSelectorLoc(unsigned Index,
61 SourceLocation EndLoc);
65 ArrayRef<SourceLocation> SelLocs,
67 SourceLocation EndLoc);
75 SourceLocation getStandardSelectorLoc(unsigned Index,
79 SourceLocation EndLoc);
StmtOpenMP.h 19 #include "clang/Basic/SourceLocation.h"
33 SourceLocation StartLoc;
35 SourceLocation EndLoc;
39 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc)
45 SourceLocation getLocStart() const { return StartLoc; }
47 SourceLocation getLocEnd() const { return EndLoc; }
50 void setLocStart(SourceLocation Loc) { StartLoc = Loc; }
52 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; }
75 SourceLocation LParenLoc
    [all...]
StmtObjC.h 27 SourceLocation ForLoc;
28 SourceLocation RParenLoc;
31 SourceLocation FCL, SourceLocation RPL);
53 SourceLocation getForLoc() const { return ForLoc; }
54 void setForLoc(SourceLocation Loc) { ForLoc = Loc; }
55 SourceLocation getRParenLoc() const { return RParenLoc; }
56 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; }
58 SourceLocation getLocStart() const LLVM_READONLY { return ForLoc; }
59 SourceLocation getLocEnd() const LLVM_READONLY
    [all...]
CommentSema.h 19 #include "clang/Basic/SourceLocation.h"
64 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) {
94 BlockCommandComment *actOnBlockCommandStart(SourceLocation LocBegin,
95 SourceLocation LocEnd,
105 ParamCommandComment *actOnParamCommandStart(SourceLocation LocBegin,
106 SourceLocation LocEnd,
111 SourceLocation ArgLocBegin,
112 SourceLocation ArgLocEnd,
116 SourceLocation ArgLocBegin,
117 SourceLocation ArgLocEnd
    [all...]
CommentBriefParser.h 38 SourceLocation ConsumeToken() {
39 SourceLocation Loc = Tok.getLocation();
StmtCXX.h 30 SourceLocation CatchLoc;
37 CXXCatchStmt(SourceLocation catchLoc, VarDecl *exDecl, Stmt *handlerBlock)
44 SourceLocation getLocStart() const LLVM_READONLY { return CatchLoc; }
45 SourceLocation getLocEnd() const LLVM_READONLY {
49 SourceLocation getCatchLoc() const { return CatchLoc; }
66 SourceLocation TryLoc;
69 CXXTryStmt(SourceLocation tryLoc, Stmt *tryBlock, ArrayRef<Stmt*> handlers);
82 static CXXTryStmt *Create(ASTContext &C, SourceLocation tryLoc,
88 SourceLocation getLocStart() const LLVM_READONLY { return getTryLoc(); }
89 SourceLocation getLocEnd() const LLVM_READONLY { return getEndLoc();
    [all...]
  /external/chromium_org/third_party/angle_dx11/tests/preprocessor_tests/
MockDirectiveHandler.h 17 void(const pp::SourceLocation& loc, const std::string& msg));
20 void(const pp::SourceLocation& loc,
25 void(const pp::SourceLocation& loc,
30 void(const pp::SourceLocation& loc, int version));
  /external/clang/lib/AST/
SelectorLocationsKind.cpp 20 static SourceLocation getStandardSelLoc(unsigned Index,
23 SourceLocation ArgLoc,
24 SourceLocation EndLoc) {
29 return SourceLocation();
37 return SourceLocation();
48 SourceLocation getArgLoc(T* Arg);
51 SourceLocation getArgLoc<Expr>(Expr *Arg) {
56 SourceLocation getArgLoc<ParmVarDecl>(ParmVarDecl *Arg) {
57 SourceLocation Loc = Arg->getLocStart();
65 SourceLocation getArgLoc(unsigned Index, ArrayRef<T*> Args)
    [all...]
  /external/clang/include/clang/Analysis/Analyses/
ThreadSafety.h 23 #include "clang/Basic/SourceLocation.h"
75 /// \param Loc -- the SourceLocation of the unresolved expression.
76 virtual void handleInvalidLockExp(SourceLocation Loc) {}
82 /// \param Loc -- The SourceLocation of the Unlock
83 virtual void handleUnmatchedUnlock(Name LockName, SourceLocation Loc) {}
89 virtual void handleDoubleLock(Name LockName, SourceLocation Loc) {}
104 SourceLocation LocLocked,
105 SourceLocation LocEndOfScope,
115 virtual void handleExclusiveAndShared(Name LockName, SourceLocation Loc1,
116 SourceLocation Loc2) {
    [all...]
  /external/clang/include/clang/Basic/
SourceLocation.h 1 //===--- SourceLocation.h - Compact identifier for Source Files -*- C++ -*-===//
11 /// \brief Defines the clang::SourceLocation class and associated facilities.
83 /// In addition, one bit of SourceLocation is used for quick access to the
87 class SourceLocation {
97 SourceLocation() : ID(0) {}
102 /// \brief Return true if this is a valid SourceLocation object.
116 static SourceLocation getFileLoc(unsigned ID) {
118 SourceLocation L;
123 static SourceLocation getMacroLoc(unsigned ID) {
125 SourceLocation L
    [all...]
PrettyStackTrace.h 20 #include "clang/Basic/SourceLocation.h"
29 SourceLocation Loc;
32 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg)
SourceManager.h 40 #include "clang/Basic/SourceLocation.h"
175 SourceLocation Loc = SourceLocation(),
240 unsigned IncludeLoc; // Really a SourceLocation
258 static FileInfo get(SourceLocation IL, const ContentCache *Con,
270 SourceLocation getIncludeLoc() const {
271 return SourceLocation::getFromRawEncoding(IncludeLoc);
305 /// macro-argument instantiations, the end will be 'SourceLocation()', an
310 SourceLocation getSpellingLoc() const {
311 return SourceLocation::getFromRawEncoding(SpellingLoc)
    [all...]
  /external/clang/tools/libclang/
CXSourceLocation.h 20 #include "clang/Basic/SourceLocation.h"
31 SourceLocation Loc) {
42 SourceLocation Loc) {
66 static inline SourceLocation translateSourceLocation(CXSourceLocation L) {
67 return SourceLocation::getFromRawEncoding(L.int_data);
71 return SourceRange(SourceLocation::getFromRawEncoding(R.begin_int_data),
72 SourceLocation::getFromRawEncoding(R.end_int_data));
  /external/chromium_org/third_party/angle_dx11/src/compiler/
DirectiveHandler.h 26 virtual void handleError(const pp::SourceLocation& loc,
29 virtual void handlePragma(const pp::SourceLocation& loc,
33 virtual void handleExtension(const pp::SourceLocation& loc,
37 virtual void handleVersion(const pp::SourceLocation& loc,
  /external/clang/include/clang/Sema/
Weak.h 18 #include "clang/Basic/SourceLocation.h"
27 SourceLocation loc; // for diagnostics
31 : alias(0), loc(SourceLocation()), used(false) {}
32 WeakInfo(IdentifierInfo *Alias, SourceLocation Loc)
35 inline SourceLocation getLocation() const { return loc; }
DeclSpec.h 73 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); }
74 void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); }
75 SourceLocation getBeginLoc() const { return Range.getBegin(); }
76 SourceLocation getEndLoc() const { return Range.getEnd(); }
94 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL,
95 SourceLocation ColonColonLoc);
109 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc);
123 SourceLocation NamespaceLoc, SourceLocation ColonColonLoc)
    [all...]
  /external/clang/lib/Lex/
PPConditionalDirectiveRecord.cpp 21 CondDirectiveStack.push_back(SourceLocation());
41 SourceLocation uppRegion;
48 SourceLocation PPConditionalDirectiveRecord::findConditionalDirectiveRegionLoc(
49 SourceLocation Loc) const {
51 return SourceLocation();
53 return SourceLocation();
78 void PPConditionalDirectiveRecord::If(SourceLocation Loc,
85 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc,
92 void PPConditionalDirectiveRecord::Ifndef(SourceLocation Loc,
99 void PPConditionalDirectiveRecord::Elif(SourceLocation Loc
    [all...]
  /external/clang/include/clang/Edit/
EditsReceiver.h 16 class SourceLocation;
25 virtual void insert(SourceLocation loc, StringRef text) = 0;
Commit.h 36 SourceLocation OrigLoc;
42 SourceLocation getFileLocation(SourceManager &SM) const;
67 bool insert(SourceLocation loc, StringRef text, bool afterToken = false,
69 bool insertAfterToken(SourceLocation loc, StringRef text,
73 bool insertBefore(SourceLocation loc, StringRef text) {
77 bool insertFromRange(SourceLocation loc, CharSourceRange range,
86 bool replaceText(SourceLocation loc, StringRef text,
89 bool insertFromRange(SourceLocation loc, SourceRange TokenRange,
114 void addInsert(SourceLocation OrigLoc,
116 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs
    [all...]

Completed in 330 milliseconds

1 2 3 4 5 6 7 8 91011>>