| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | Sema.h | 149 typedef ArrayRef<std::pair<IdentifierInfo *, SourceLocation>> ModuleIdPath; 242 SourceLocation> 250 SourceLocation PointerLoc; 254 SourceLocation PointerEndLoc; 301 void enterCondition(Sema &S, SourceLocation Tok); 302 void enterReturn(Sema &S, SourceLocation Tok); 303 void enterVariableInit(SourceLocation Tok, Decl *D); 305 void enterDesignatedInitializer(SourceLocation Tok, QualType BaseType, 316 void enterFunctionArgument(SourceLocation Tok, 319 void enterParenExpr(SourceLocation Tok, SourceLocation LParLoc); [all …]
|
| H A D | DeclSpec.h | 72 void setBeginLoc(SourceLocation Loc) { Range.setBegin(Loc); } in setBeginLoc() 73 void setEndLoc(SourceLocation Loc) { Range.setEnd(Loc); } in setEndLoc() 74 SourceLocation getBeginLoc() const { return Range.getBegin(); } in getBeginLoc() 75 SourceLocation getEndLoc() const { return Range.getEnd(); } in getEndLoc() 93 void Extend(ASTContext &Context, SourceLocation TemplateKWLoc, TypeLoc TL, 94 SourceLocation ColonColonLoc); 108 SourceLocation IdentifierLoc, SourceLocation ColonColonLoc); 122 SourceLocation NamespaceLoc, SourceLocation ColonColonLoc); 137 SourceLocation AliasLoc, SourceLocation ColonColonLoc); 141 void MakeGlobal(ASTContext &Context, SourceLocation ColonColonLoc); [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | SourceManager.h | 217 SourceLocation Loc = SourceLocation()) const; 298 SourceLocation IncludeLoc; 315 static FileInfo get(SourceLocation IL, ContentCache &Con, in get() 327 SourceLocation getIncludeLoc() const { in getIncludeLoc() 359 SourceLocation SpellingLoc; 367 SourceLocation ExpansionLocStart, ExpansionLocEnd; 373 SourceLocation getSpellingLoc() const { in getSpellingLoc() 377 SourceLocation getExpansionLocStart() const { in getExpansionLocStart() 381 SourceLocation getExpansionLocEnd() const { in getExpansionLocEnd() 414 static ExpansionInfo create(SourceLocation SpellingLoc, SourceLocation Start, [all …]
|
| H A D | SourceLocation.h | 86 class SourceLocation { 90 friend struct llvm::FoldingSetTrait<SourceLocation, void>; 117 static SourceLocation getFileLoc(UIntTy ID) { 119 SourceLocation L; 124 static SourceLocation getMacroLoc(UIntTy ID) { 126 SourceLocation L; 134 SourceLocation getLocWithOffset(IntTy Offset) const { 136 SourceLocation L; 152 static SourceLocation getFromRawEncoding(UIntTy Encoding) { 153 SourceLocation X; [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Lex/ |
| H A D | PPConditionalDirectiveRecord.h | 28 SmallVector<SourceLocation, 6> CondDirectiveStack; 31 SourceLocation Loc; 32 SourceLocation RegionLoc; 35 CondDirectiveLoc(SourceLocation Loc, SourceLocation RegionLoc) in CondDirectiveLoc() 38 SourceLocation getLoc() const { return Loc; } in getLoc() 39 SourceLocation getRegionLoc() const { return RegionLoc; } in getRegionLoc() 49 bool operator()(const CondDirectiveLoc &LHS, SourceLocation RHS) { in operator() 52 bool operator()(SourceLocation LHS, const CondDirectiveLoc &RHS) { in operator() 79 bool areInDifferentConditionalDirectiveRegion(SourceLocation LHS, in areInDifferentConditionalDirectiveRegion() 80 SourceLocation RHS) const { in areInDifferentConditionalDirectiveRegion() [all …]
|
| H A D | PPCallbacks.h | 48 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason, 72 FileID PrevFID, SourceLocation Loc) {} in LexedFileChanged() 137 virtual void InclusionDirective(SourceLocation HashLoc, in InclusionDirective() 153 virtual void EnteredSubmodule(Module *M, SourceLocation ImportLoc, in EnteredSubmodule() 164 virtual void LeftSubmodule(Module *M, SourceLocation ImportLoc, in LeftSubmodule() 177 virtual void moduleImport(SourceLocation ImportLoc, in moduleImport() 192 virtual void Ident(SourceLocation Loc, StringRef str) { in Ident() 196 virtual void PragmaDirective(SourceLocation Loc, in PragmaDirective() 201 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, in PragmaComment() 206 virtual void PragmaMark(SourceLocation Loc, StringRef Trivia) { in PragmaMark() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | ExprOpenMP.h | 59 SourceLocation ColonLocFirst; 60 SourceLocation ColonLocSecond; 61 SourceLocation RBracketLoc; 66 SourceLocation ColonLocFirst, in OMPArraySectionExpr() 67 SourceLocation ColonLocSecond, SourceLocation RBracketLoc) in OMPArraySectionExpr() 113 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() 116 SourceLocation getEndLoc() const LLVM_READONLY { return RBracketLoc; } in getEndLoc() 118 SourceLocation getColonLocFirst() const { return ColonLocFirst; } in getColonLocFirst() 119 void setColonLocFirst(SourceLocation L) { ColonLocFirst = L; } in setColonLocFirst() 121 SourceLocation getColonLocSecond() const { return ColonLocSecond; } in getColonLocSecond() [all …]
|
| H A D | TypeLoc.h | 146 SourceLocation getBeginLoc() const; 149 SourceLocation getEndLoc() const; 196 void initialize(ASTContext &Context, SourceLocation Loc) const { in initialize() 229 SourceLocation findNullabilityLoc() const; 237 SourceLocation Loc); 291 void initializeLocal(ASTContext &Context, SourceLocation Loc) { in initializeLocal() 508 SourceLocation NameLoc; 523 SourceLocation getNameLoc() const { in getNameLoc() 527 void setNameLoc(SourceLocation Loc) { in setNameLoc() 535 void initializeLocal(ASTContext &Context, SourceLocation Loc) { in initializeLocal() [all …]
|
| H A D | OpenMPClause.h | 57 SourceLocation StartLoc; 60 SourceLocation EndLoc; 66 OMPClause(OpenMPClauseKind K, SourceLocation StartLoc, SourceLocation EndLoc) in OMPClause() 71 SourceLocation getBeginLoc() const { return StartLoc; } in getBeginLoc() 74 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc() 77 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } in setLocStart() 80 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd() 116 OMPNoChildClause(SourceLocation StartLoc, SourceLocation EndLoc) in OMPNoChildClause() 121 : OMPClause(ClauseKind, SourceLocation(), SourceLocation()) {} in OMPNoChildClause() 147 SourceLocation LParenLoc; [all …]
|
| H A D | StmtOpenMP.h | 184 SourceLocation getBeginLoc() const { return getLoopStmt()->getBeginLoc(); } in getBeginLoc() 185 SourceLocation getEndLoc() const { return getLoopStmt()->getEndLoc(); } in getEndLoc() 273 SourceLocation StartLoc; 275 SourceLocation EndLoc; 296 SourceLocation StartLoc, SourceLocation EndLoc) in OMPExecutableDirective() 489 SourceLocation getBeginLoc() const { return StartLoc; } in getBeginLoc() 491 SourceLocation getEndLoc() const { return EndLoc; } in getEndLoc() 497 void setLocStart(SourceLocation Loc) { StartLoc = Loc; } in setLocStart() 502 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; } in setLocEnd() 623 OMPParallelDirective(SourceLocation StartLoc, SourceLocation EndLoc) in OMPParallelDirective() [all …]
|
| H A D | ExprObjC.h | 53 SourceLocation AtLoc; 56 ObjCStringLiteral(StringLiteral *SL, QualType T, SourceLocation L) in ObjCStringLiteral() 68 SourceLocation getAtLoc() const { return AtLoc; } in getAtLoc() 69 void setAtLoc(SourceLocation L) { AtLoc = L; } in setAtLoc() 71 SourceLocation getBeginLoc() const LLVM_READONLY { return AtLoc; } in getBeginLoc() 72 SourceLocation getEndLoc() const LLVM_READONLY { return String->getEndLoc(); } in getEndLoc() 89 SourceLocation Loc; 92 ObjCBoolLiteralExpr(bool val, QualType Ty, SourceLocation l) in ObjCBoolLiteralExpr() 103 SourceLocation getBeginLoc() const LLVM_READONLY { return Loc; } in getBeginLoc() 104 SourceLocation getEndLoc() const LLVM_READONLY { return Loc; } in getEndLoc() [all …]
|
| H A D | CommentSema.h | 63 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { in Diag() 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 ArgLocEnd, 118 TParamCommandComment *actOnTParamCommandStart(SourceLocation LocBegin, [all …]
|
| H A D | StmtObjC.h | 26 SourceLocation ForLoc; 27 SourceLocation RParenLoc; 30 SourceLocation FCL, SourceLocation RPL); 52 SourceLocation getForLoc() const { return ForLoc; } in getForLoc() 53 void setForLoc(SourceLocation Loc) { ForLoc = Loc; } in setForLoc() 54 SourceLocation getRParenLoc() const { return RParenLoc; } in getRParenLoc() 55 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; } in setRParenLoc() 57 SourceLocation getBeginLoc() const LLVM_READONLY { return ForLoc; } in getBeginLoc() 58 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() 81 SourceLocation AtCatchLoc, RParenLoc; [all …]
|
| H A D | Stmt.h | 125 SourceLocation SemiLoc; 146 SourceLocation IdentLoc; 159 SourceLocation AttrLoc; 181 SourceLocation IfLoc; 201 SourceLocation SwitchLoc; 214 SourceLocation WhileLoc; 223 SourceLocation DoLoc; 232 SourceLocation ForLoc; 242 SourceLocation GotoLoc; 251 SourceLocation ContinueLoc; [all …]
|
| H A D | ExprCXX.h | 94 SourceLocation OperatorLoc, FPOptionsOverride FPFeatures, 103 SourceLocation OperatorLoc, FPOptionsOverride FPFeatures, 149 SourceLocation getOperatorLoc() const { return getRParenLoc(); } in getOperatorLoc() 151 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc() 159 SourceLocation getBeginLoc() const { return Range.getBegin(); } in getBeginLoc() 160 SourceLocation getEndLoc() const { return Range.getEnd(); } in getEndLoc() 181 ExprValueKind VK, SourceLocation RP, 189 ExprValueKind VK, SourceLocation RP, 217 SourceLocation getExprLoc() const LLVM_READONLY { in getExprLoc() 218 SourceLocation CLoc = getCallee()->getExprLoc(); in getExprLoc() [all …]
|
| H A D | Expr.h | 245 SourceLocation getExprLoc() const LLVM_READONLY; 256 bool isUnusedResultAWarning(const Expr *&WarnExpr, SourceLocation &Loc, 320 isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc = nullptr) const; 411 Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{ in ClassifyModifiable() 454 Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const; 544 getIntegerConstantExpr(const ASTContext &Ctx, SourceLocation *Loc = nullptr, 547 SourceLocation *Loc = nullptr) const; 559 SourceLocation *Loc = nullptr) const; 1099 SourceLocation getBeginLoc() const LLVM_READONLY { in getBeginLoc() 1102 SourceLocation getEndLoc() const LLVM_READONLY { in getEndLoc() [all …]
|
| H A D | DeclObjC.h | 102 SourceLocation *Locations = nullptr; 109 using loc_iterator = const SourceLocation *; 115 const SourceLocation *Locs, ASTContext &Ctx); 158 SourceLocation DeclEndLoc; // the location of the ';' or '{'. 171 ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc, 194 SourceLocation *getStoredSelLocs() { in getStoredSelLocs() 195 return reinterpret_cast<SourceLocation *>(getParams() + NumParams); in getStoredSelLocs() 197 const SourceLocation *getStoredSelLocs() const { in getStoredSelLocs() 198 return reinterpret_cast<const SourceLocation *>(getParams() + NumParams); in getStoredSelLocs() 220 ArrayRef<SourceLocation> SelLocs); [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | SelectorLocationsKind.cpp | 19 static SourceLocation getStandardSelLoc(unsigned Index, in getStandardSelLoc() 22 SourceLocation ArgLoc, in getStandardSelLoc() 23 SourceLocation EndLoc) { in getStandardSelLoc() 28 return SourceLocation(); in getStandardSelLoc() 36 return SourceLocation(); in getStandardSelLoc() 47 SourceLocation getArgLoc(T* Arg); 50 SourceLocation getArgLoc<Expr>(Expr *Arg) { in getArgLoc() 55 SourceLocation getArgLoc<ParmVarDecl>(ParmVarDecl *Arg) { in getArgLoc() 56 SourceLocation Loc = Arg->getBeginLoc(); in getArgLoc() 64 SourceLocation getArgLoc(unsigned Index, ArrayRef<T*> Args) { in getArgLoc() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Parse/ |
| H A D | Parser.h | 81 SourceLocation PrevTokLocation; 344 SourceLocation LessLoc; 366 void add(Parser &P, Expr *TemplateName, SourceLocation LessLoc, in add() 417 SourceLocation ExprStatementTokLoc; 499 SourceLocation ConsumeToken() { in ConsumeToken() 517 bool TryConsumeToken(tok::TokenKind Expected, SourceLocation &Loc) { in TryConsumeToken() 527 SourceLocation ConsumeAnyToken(bool ConsumeCodeCompletionTok = false) { 545 SourceLocation getEndOfPreviousToken() { in getEndOfPreviousToken() 595 SourceLocation ConsumeAnnotationToken() { in ConsumeAnnotationToken() 597 SourceLocation Loc = Tok.getLocation(); in ConsumeAnnotationToken() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | HLSLExternalSemaSource.cpp | 48 LookupResult Result(S, &II, SourceLocation(), Sema::LookupTagName); in BuiltinTypeDeclBuilder() 66 HLSLNamespace, SourceLocation(), in BuiltinTypeDeclBuilder() 67 SourceLocation(), &II, PrevDecl, true); in BuiltinTypeDeclBuilder() 94 AST.getTrivialTypeSourceInfo(Type, SourceLocation()); in addMemberVariable() 96 AST, Record, SourceLocation(), SourceLocation(), &II, Type, MemTySource, in addMemberVariable() 134 DeclarationNameInfo(DeclarationName(&II), SourceLocation()); in lookupBuiltinFunction() 141 return DeclRefExpr::Create(AST, NestedNameSpecifierLoc(), SourceLocation(), in lookupBuiltinFunction() 150 AST.UnsignedCharTy, SourceLocation()); in emitResourceClassExpr() 165 AST, Record, SourceLocation(), in addDefaultHandleConstructor() 166 DeclarationNameInfo(Name, SourceLocation()), ConstructorType, in addDefaultHandleConstructor() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Lex/ |
| H A D | PPConditionalDirectiveRecord.cpp | 20 CondDirectiveStack.push_back(SourceLocation()); in PPConditionalDirectiveRecord() 39 SourceLocation uppRegion; in rangeIntersectsConditionalDirective() 46 SourceLocation PPConditionalDirectiveRecord::findConditionalDirectiveRegionLoc( in findConditionalDirectiveRegionLoc() 47 SourceLocation Loc) const { in findConditionalDirectiveRegionLoc() 49 return SourceLocation(); in findConditionalDirectiveRegionLoc() 51 return SourceLocation(); in findConditionalDirectiveRegionLoc() 75 void PPConditionalDirectiveRecord::If(SourceLocation Loc, in If() 82 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc, in Ifdef() 89 void PPConditionalDirectiveRecord::Ifndef(SourceLocation Loc, in Ifndef() 96 void PPConditionalDirectiveRecord::Elif(SourceLocation Loc, in Elif() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafety.h | 102 virtual void handleInvalidLockExp(SourceLocation Loc) {} in handleInvalidLockExp() 112 SourceLocation Loc, in handleUnmatchedUnlock() 113 SourceLocation LocPreviousUnlock) {} in handleUnmatchedUnlock() 127 SourceLocation LocLocked, in handleIncorrectUnlockKind() 128 SourceLocation LocUnlock) {} in handleIncorrectUnlockKind() 137 SourceLocation LocLocked, in handleDoubleLock() 138 SourceLocation LocDoubleLock) {} in handleDoubleLock() 154 SourceLocation LocLocked, in handleMutexHeldEndOfScope() 155 SourceLocation LocEndOfScope, in handleMutexHeldEndOfScope() 167 SourceLocation Loc1, in handleExclusiveAndShared() [all …]
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CXCursor.h | 48 CXCursor getCursor(CXTranslationUnit, SourceLocation); 62 SourceLocation Loc, CXTranslationUnit TU); 66 std::pair<const ObjCInterfaceDecl *, SourceLocation> 71 SourceLocation Loc, CXTranslationUnit TU); 75 std::pair<const ObjCProtocolDecl *, SourceLocation> 80 SourceLocation Loc, CXTranslationUnit TU); 84 std::pair<const ObjCInterfaceDecl *, SourceLocation> 88 CXCursor MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc, 93 std::pair<const TypeDecl *, SourceLocation> getCursorTypeRef(CXCursor C); 96 CXCursor MakeCursorTemplateRef(const TemplateDecl *Template, SourceLocation Loc, [all …]
|
| /openbsd-src/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 Loc; [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/Edit/ |
| H A D | Commit.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) { in insertBefore() 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 OrigLoc, 127 void addInsertFromRange(SourceLocation OrigLoc, FileOffset Offs, [all …]
|