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

1 2 3 4 5 6 7 8 91011>>

  /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...]
PPMutationListener.h 16 #include "clang/Basic/SourceLocation.h"
27 SourceLocation UndefLoc;
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"
26 class SourceLocation;
47 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason,
118 virtual void InclusionDirective(SourceLocation HashLoc,
139 virtual void moduleImport(SourceLocation ImportLoc,
154 virtual void Ident(SourceLocation Loc, const std::string &str) {
158 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind,
165 virtual void PragmaMessage(SourceLocation Loc, StringRef Str) {
170 virtual void PragmaDiagnosticPush(SourceLocation Loc,
176 virtual void PragmaDiagnosticPop(SourceLocation Loc
    [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);
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"
67 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) {
97 BlockCommandComment *actOnBlockCommandStart(SourceLocation LocBegin,
98 SourceLocation LocEnd,
108 ParamCommandComment *actOnParamCommandStart(SourceLocation LocBegin,
109 SourceLocation LocEnd,
114 SourceLocation ArgLocBegin,
115 SourceLocation ArgLocEnd,
119 SourceLocation ArgLocBegin,
120 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...]
TypeLoc.h 114 SourceLocation getBeginLoc() const;
117 SourceLocation getEndLoc() const;
123 SourceLocation getLocStart() const LLVM_READONLY { return getBeginLoc(); }
124 SourceLocation getLocEnd() const LLVM_READONLY { return getEndLoc(); }
152 void initialize(ASTContext &Context, SourceLocation Loc) const {
187 SourceLocation Loc);
237 void initializeLocal(ASTContext &Context, SourceLocation Loc) {
410 SourceLocation NameLoc;
422 SourceLocation getNameLoc() const {
425 void setNameLoc(SourceLocation Loc)
    [all...]
Stmt.h 21 #include "clang/Basic/SourceLocation.h"
358 /// SourceLocation tokens are not useful in isolation - they are low level
362 SourceLocation getLocStart() const LLVM_READONLY;
363 SourceLocation getLocEnd() const LLVM_READONLY;
450 SourceLocation StartLoc, EndLoc;
453 DeclStmt(DeclGroupRef dg, SourceLocation startLoc,
454 SourceLocation endLoc) : Stmt(DeclStmtClass), DG(dg),
473 SourceLocation getStartLoc() const { return StartLoc; }
474 void setStartLoc(SourceLocation L) { StartLoc = L; }
475 SourceLocation getEndLoc() const { return EndLoc;
    [all...]
  /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/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...]
Designator.h 18 #include "clang/Basic/SourceLocation.h"
79 SourceLocation getDotLoc() const {
81 return SourceLocation::getFromRawEncoding(FieldInfo.DotLoc);
84 SourceLocation getFieldLoc() const {
86 return SourceLocation::getFromRawEncoding(FieldInfo.NameLoc);
103 SourceLocation getLBracketLoc() const {
107 return SourceLocation::getFromRawEncoding(ArrayInfo.LBracketLoc);
109 return SourceLocation::getFromRawEncoding(ArrayRangeInfo.LBracketLoc);
112 SourceLocation getRBracketLoc() const {
116 return SourceLocation::getFromRawEncoding(ArrayInfo.RBracketLoc)
    [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,
84 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc,
91 void PPConditionalDirectiveRecord::Ifndef(SourceLocation Loc,
98 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 35 SourceLocation OrigLoc;
41 SourceLocation getFileLocation(SourceManager &SM) const;
64 bool insert(SourceLocation loc, StringRef text, bool afterToken = false,
66 bool insertAfterToken(SourceLocation loc, StringRef text,
70 bool insertBefore(SourceLocation loc, StringRef text) {
74 bool insertFromRange(SourceLocation loc, CharSourceRange range,
83 bool replaceText(SourceLocation loc, StringRef text,
86 bool insertFromRange(SourceLocation loc, SourceRange TokenRange,
111 void addInsert(SourceLocation OrigLoc,
113 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs
    [all...]
  /external/clang/include/clang/Frontend/
DiagnosticRenderer.h 21 #include "clang/Basic/SourceLocation.h"
56 SourceLocation LastLoc;
62 SourceLocation LastIncludeLoc;
75 virtual void emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc,
82 virtual void emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc,
89 virtual void emitCodeContext(SourceLocation Loc,
95 virtual void emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc,
97 virtual void emitImportLocation(SourceLocation Loc, PresumedLoc PLoc,
100 virtual void emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc,
111 void emitIncludeStack(SourceLocation Loc, PresumedLoc PLoc
    [all...]

Completed in 211 milliseconds

1 2 3 4 5 6 7 8 91011>>