/openbsd-current/gnu/llvm/clang/include/clang/Lex/ |
H A D | PPConditionalDirectiveRecord.h | 16 #include "clang/Basic/SourceLocation.h" 28 SmallVector<SourceLocation, 6> CondDirectiveStack; 31 SourceLocation Loc; 32 SourceLocation RegionLoc; 35 CondDirectiveLoc(SourceLocation Loc, SourceLocation RegionLoc) 38 SourceLocation getLoc() const { return Loc; } 39 SourceLocation getRegionLoc() const { return RegionLoc; } 49 bool operator()(const CondDirectiveLoc &LHS, SourceLocation RHS) { 52 bool operator()(SourceLocation LH [all...] |
H A D | PPCallbacks.h | 18 #include "clang/Basic/SourceLocation.h" 48 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason, 72 FileID PrevFID, SourceLocation Loc) {} 137 virtual void InclusionDirective(SourceLocation HashLoc, 153 virtual void EnteredSubmodule(Module *M, SourceLocation ImportLoc, 164 virtual void LeftSubmodule(Module *M, SourceLocation ImportLoc, 177 virtual void moduleImport(SourceLocation ImportLoc, 192 virtual void Ident(SourceLocation Loc, StringRef str) { 196 virtual void PragmaDirective(SourceLocation Loc, 201 virtual void PragmaComment(SourceLocation Lo [all...] |
H A D | ScratchBuffer.h | 16 #include "clang/Basic/SourceLocation.h" 27 SourceLocation BufferStartLoc; 33 /// return a SourceLocation that refers to the token. This is just like the 36 SourceLocation getToken(const char *Buf, unsigned Len, const char *&DestPtr);
|
H A D | TokenLexer.h | 16 #include "clang/Basic/SourceLocation.h" 60 SourceLocation ExpandLocStart, ExpandLocEnd; 64 SourceLocation MacroExpansionStart; 71 SourceLocation MacroDefStart; 108 TokenLexer(Token &Tok, SourceLocation ILEnd, MacroInfo *MI, 131 void Init(Token &Tok, SourceLocation ELEnd, MacroInfo *MI, 207 SourceLocation VAOPTClosingParenLoc); 218 void HandleMicrosoftCommentPaste(Token &Tok, SourceLocation OpLoc); 223 SourceLocation getExpansionLocForMacroDefLoc(SourceLocation lo [all...] |
/openbsd-current/gnu/llvm/clang/include/clang/AST/ |
H A D | SelectorLocationsKind.h | 21 class SourceLocation; 46 ArrayRef<SourceLocation> SelLocs, 48 SourceLocation EndLoc); 56 SourceLocation getStandardSelectorLoc(unsigned Index, 60 SourceLocation EndLoc); 64 ArrayRef<SourceLocation> SelLocs, 66 SourceLocation EndLoc); 74 SourceLocation getStandardSelectorLoc(unsigned Index, 78 SourceLocation EndLoc);
|
H A D | Availability.h | 16 #include "clang/Basic/SourceLocation.h" 39 SourceLocation BeginLoc, EndLoc; 43 SourceLocation BeginLoc, SourceLocation EndLoc) 48 AvailabilitySpec(SourceLocation StarLoc) 53 SourceLocation getBeginLoc() const { return BeginLoc; } 54 SourceLocation getEndLoc() const { return EndLoc; }
|
H A D | ExprOpenMP.h | 59 SourceLocation ColonLocFirst; 60 SourceLocation ColonLocSecond; 61 SourceLocation RBracketLoc; 66 SourceLocation ColonLocFirst, 67 SourceLocation ColonLocSecond, SourceLocation RBracketLoc) 113 SourceLocation getBeginLoc() const LLVM_READONLY { 116 SourceLocation getEndLoc() const LLVM_READONLY { return RBracketLoc; } 118 SourceLocation getColonLocFirst() const { return ColonLocFirst; } 119 void setColonLocFirst(SourceLocation [all...] |
H A D | TypeLoc.h | 22 #include "clang/Basic/SourceLocation.h" 146 SourceLocation getBeginLoc() const; 149 SourceLocation getEndLoc() const; 196 void initialize(ASTContext &Context, SourceLocation Loc) const { 229 SourceLocation findNullabilityLoc() const; 237 SourceLocation Loc); 291 void initializeLocal(ASTContext &Context, SourceLocation Loc) { 508 SourceLocation NameLoc; 523 SourceLocation getNameLoc() const { 527 void setNameLoc(SourceLocation Lo [all...] |
H A D | CommentSema.h | 18 #include "clang/Basic/SourceLocation.h" 63 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { 89 BlockCommandComment *actOnBlockCommandStart(SourceLocation LocBegin, 90 SourceLocation LocEnd, 100 ParamCommandComment *actOnParamCommandStart(SourceLocation LocBegin, 101 SourceLocation LocEnd, 106 SourceLocation ArgLocBegin, 107 SourceLocation ArgLocEnd, 111 SourceLocation ArgLocBegin, 112 SourceLocation ArgLocEn [all...] |
H A D | ExprObjC.h | 27 #include "clang/Basic/SourceLocation.h" 53 SourceLocation AtLoc; 56 ObjCStringLiteral(StringLiteral *SL, QualType T, SourceLocation L) 68 SourceLocation getAtLoc() const { return AtLoc; } 69 void setAtLoc(SourceLocation L) { AtLoc = L; } 71 SourceLocation getBeginLoc() const LLVM_READONLY { return AtLoc; } 72 SourceLocation getEndLoc() const LLVM_READONLY { return String->getEndLoc(); } 89 SourceLocation Loc; 92 ObjCBoolLiteralExpr(bool val, QualType Ty, SourceLocation l) 103 SourceLocation getBeginLo [all...] |
/openbsd-current/gnu/llvm/clang/lib/AST/ |
H A D | SelectorLocationsKind.cpp | 19 static SourceLocation getStandardSelLoc(unsigned Index, 22 SourceLocation ArgLoc, 23 SourceLocation EndLoc) { 28 return SourceLocation(); 36 return SourceLocation(); 47 SourceLocation getArgLoc(T* Arg); 50 SourceLocation getArgLoc<Expr>(Expr *Arg) { 55 SourceLocation getArgLoc<ParmVarDecl>(ParmVarDecl *Arg) { 56 SourceLocation Loc = Arg->getBeginLoc(); 64 SourceLocation getArgLo [all...] |
/openbsd-current/gnu/llvm/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafety.h | 21 #include "clang/Basic/SourceLocation.h" 101 /// \param Loc -- the SourceLocation of the unresolved expression. 102 virtual void handleInvalidLockExp(SourceLocation Loc) {} 109 /// \param Loc -- The SourceLocation of the Unlock 112 SourceLocation Loc, 113 SourceLocation LocPreviousUnlock) {} 123 /// \param LocLocked -- The SourceLocation of the Lock. 124 /// \param LocUnlock -- The SourceLocation of the Unlock. 127 SourceLocation LocLocked, 128 SourceLocation LocUnloc [all...] |
/openbsd-current/gnu/llvm/clang/lib/Sema/ |
H A D | SemaHLSL.cpp | 16 SourceLocation KwLoc, IdentifierInfo *Ident, 17 SourceLocation IdentLoc, 18 SourceLocation LBrace) { 30 void Sema::ActOnFinishHLSLBuffer(Decl *Dcl, SourceLocation RBrace) {
|
/openbsd-current/gnu/llvm/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 1 //===- SourceLocation.h - Compact identifier for Source Files ---*- C++ -*-===// 10 /// Defines the clang::SourceLocation class and associated facilities. 82 /// In addition, one bit of SourceLocation is used for quick access to the 86 class SourceLocation { class in namespace:clang 90 friend struct llvm::FoldingSetTrait<SourceLocation, void>; 105 /// Return true if this is a valid SourceLocation object. 117 static SourceLocation getFileLoc(UIntTy ID) { 119 SourceLocation L; 124 static SourceLocation getMacroLoc(UIntTy ID) { 126 SourceLocation [all...] |
H A D | SourceManager.h | 40 #include "clang/Basic/SourceLocation.h" 217 SourceLocation Loc = SourceLocation()) const; 298 SourceLocation IncludeLoc; 315 static FileInfo get(SourceLocation IL, ContentCache &Con, 327 SourceLocation getIncludeLoc() const { 359 SourceLocation SpellingLoc; 365 /// macro-argument instantiations, the end will be 'SourceLocation()', an 367 SourceLocation ExpansionLocStart, ExpansionLocEnd; 373 SourceLocation getSpellingLo [all...] |
H A D | PrettyStackTrace.h | 19 #include "clang/Basic/SourceLocation.h" 28 SourceLocation Loc; 31 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg)
|
/openbsd-current/gnu/llvm/clang/lib/Lex/ |
H A D | PPConditionalDirectiveRecord.cpp | 20 CondDirectiveStack.push_back(SourceLocation()); 39 SourceLocation uppRegion; 46 SourceLocation PPConditionalDirectiveRecord::findConditionalDirectiveRegionLoc( 47 SourceLocation Loc) const { 49 return SourceLocation(); 51 return SourceLocation(); 75 void PPConditionalDirectiveRecord::If(SourceLocation Loc, 82 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc, 89 void PPConditionalDirectiveRecord::Ifndef(SourceLocation Loc, 96 void PPConditionalDirectiveRecord::Elif(SourceLocation Lo [all...] |
/openbsd-current/gnu/llvm/clang/include/clang/Edit/ |
H A D | Commit.h | 13 #include "clang/Basic/SourceLocation.h" 40 SourceLocation OrigLoc; 46 SourceLocation getFileLocation(SourceManager &SM) const; 70 bool insert(SourceLocation loc, StringRef text, bool afterToken = false, 73 bool insertAfterToken(SourceLocation loc, StringRef text, 78 bool insertBefore(SourceLocation loc, StringRef text) { 83 bool insertFromRange(SourceLocation loc, CharSourceRange range, 92 bool replaceText(SourceLocation loc, StringRef text, 95 bool insertFromRange(SourceLocation loc, SourceRange TokenRange, 125 void addInsert(SourceLocation OrigLo [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/ubsan/ |
H A D | ubsan_handlers.h | 20 SourceLocation Loc; 42 SourceLocation Loc; 43 SourceLocation AssumptionLoc; 53 SourceLocation Loc; 74 SourceLocation Loc; 85 SourceLocation Loc; 94 SourceLocation Loc; 103 SourceLocation Loc; 118 SourceLocation Loc; 128 SourceLocation Lo [all...] |
/openbsd-current/gnu/llvm/clang/include/clang/Analysis/ |
H A D | MacroExpansionContext.h | 13 #include "clang/Basic/SourceLocation.h" 90 getExpandedText(SourceLocation MacroExpansionLoc) const; 97 getOriginalText(SourceLocation MacroExpansionLoc) const; 107 using ExpansionMap = llvm::DenseMap<SourceLocation, MacroExpansionText>; 108 using ExpansionRangeMap = llvm::DenseMap<SourceLocation, SourceLocation>;
|
/openbsd-current/gnu/llvm/clang/include/clang/Sema/ |
H A D | Weak.h | 17 #include "clang/Basic/SourceLocation.h" 27 SourceLocation loc; // for diagnostics 30 WeakInfo(const IdentifierInfo *Alias, SourceLocation Loc) 33 inline SourceLocation getLocation() const { return loc; } 40 return WeakInfo(DenseMapInfo::getEmptyKey(), SourceLocation()); 43 return WeakInfo(DenseMapInfo::getTombstoneKey(), SourceLocation());
|
H A D | DeclSpec.h | 72 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); } 73 void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); } 74 SourceLocation getBeginLoc() const { return Range.getBegin(); } 75 SourceLocation getEndLoc() const { return Range.getEnd(); } 93 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL, 94 SourceLocation ColonColonLoc); 108 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc); 122 SourceLocation NamespaceLoc, SourceLocation ColonColonLo [all...] |
H A D | Designator.h | 17 #include "clang/Basic/SourceLocation.h" 48 SourceLocation DotLoc; 49 SourceLocation NameLoc; 53 SourceLocation LBracketLoc; 54 mutable SourceLocation RBracketLoc; 58 SourceLocation LBracketLoc, EllipsisLoc; 59 mutable SourceLocation RBracketLoc; 80 SourceLocation getDotLoc() const { 85 SourceLocation getFieldLoc() const { 104 SourceLocation getLBracketLo [all...] |
H A D | ParsedTemplate.h | 18 #include "clang/Basic/SourceLocation.h" 50 ParsedTemplateArgument(KindType Kind, void *Arg, SourceLocation Loc) 64 SourceLocation TemplateLoc) 93 SourceLocation getLocation() const { return Loc; } 105 SourceLocation getEllipsisLoc() const { 116 SourceLocation EllipsisLoc) const; 131 SourceLocation Loc; 135 SourceLocation EllipsisLoc; 155 SourceLocation TemplateKWLoc; 159 SourceLocation TemplateNameLo [all...] |
/openbsd-current/gnu/llvm/llvm/include/llvm/DebugInfo/GSYM/ |
H A D | LookupResult.h | 21 struct SourceLocation { struct in namespace:llvm::gsym 29 inline bool operator==(const SourceLocation &LHS, const SourceLocation &RHS) { 34 raw_ostream &operator<<(raw_ostream &OS, const SourceLocation &R); 36 using SourceLocations = std::vector<SourceLocation>; 46 /// SourceLocation for each inlined function with the last entry pointing to
|