/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | ProgramPoint.h | 434 /// \param Loc can be used to store the information about the location 436 PostStore(const Stmt *S, const LocationContext *L, const void *Loc, argument 440 setData2(Loc); 533 /// \param Loc The location of the field being initialized. 535 const void *Loc, 537 : ProgramPoint(I, Loc, PostInitializerKind, L) {} 561 ImplicitCallPoint(const Decl *D, SourceLocation Loc, Kind K, argument 563 : ProgramPoint(Loc.getPtrEncoding(), D, K, L, Tag) {} 585 PreImplicitCall(const Decl *D, SourceLocation Loc, const LocationContext *L, argument 587 : ImplicitCallPoint(D, Loc, PreImplicitCallKin 534 PostInitializer(const CXXCtorInitializer *I, const void *Loc, const LocationContext *L) argument 602 PostImplicitCall(const Decl *D, SourceLocation Loc, const LocationContext *L, const ProgramPointTag *Tag = nullptr) argument 768 getHashValue(const clang::ProgramPoint &Loc) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransformActions.cpp | 45 SourceLocation Loc; member in struct:__anon293::TransformActionsImpl::ActionData 203 if (!canInsert(act.Loc)) 207 if (!canInsertAfterToken(act.Loc)) 224 if (!canReplaceText(act.Loc, act.Text1)) 247 commitInsert(act.Loc, act.Text1); 250 commitInsertAfterToken(act.Loc, act.Text1); 262 commitReplaceText(act.Loc, act.Text1, act.Text2); 265 commitIncreaseIndentation(act.R1, act.Loc); 289 data.Loc = loc; 299 data.Loc [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonMCShuffler.cpp | 51 Loc = MCB.getLoc(); 75 Loc = MCB.getLoc(); 82 MCB.setLoc(Loc);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NumberObjectConversionChecker.cpp | 79 SourceLocation Loc = CheckIfNull->getBeginLoc(); local 80 if (Loc.isMacroID()) { 82 Loc, ACtx.getSourceManager(), ACtx.getLangOpts());
|
H A D | NSErrorChecker.cpp | 206 if (loc.isUndef() || !loc.getAs<Loc>()) 228 setFlag<NSErrorOut>(state, state->getSVal(loc.castAs<Loc>()), C); 233 setFlag<CFErrorOut>(state, state->getSVal(loc.castAs<Loc>()), C);
|
H A D | NonNullParamChecker.cpp | 103 assert(!haveRefTypeParam || DV->getAs<Loc>()); 106 if (haveAttrNonNull && !DV->getAs<Loc>()) { 128 if (!V.getAs<Loc>())
|
H A D | DeadStoresChecker.cpp | 176 SourceLocation Loc = R.getBegin(); local 177 if (!Loc.isValid()) 180 FileID FID = SMgr.getFileID(Loc); 439 PathDiagnosticLocation Loc = variable 441 Report(V, DeadInit, Loc, E->getSourceRange());
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64WinCOFFStreamer.cpp | 29 void EmitWinEHHandlerData(SMLoc Loc) override; 34 void AArch64WinCOFFStreamer::EmitWinEHHandlerData(SMLoc Loc) { argument 35 MCStreamer::EmitWinEHHandlerData(Loc);
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/ |
H A D | USRGeneration.cpp | 26 static bool printLoc(llvm::raw_ostream &OS, SourceLocation Loc, argument 28 if (Loc.isInvalid()) { 31 Loc = SM.getExpansionLoc(Loc); 32 const std::pair<FileID, unsigned> &Decomposed = SM.getDecomposedLoc(Loc); 191 SourceLocation Loc = D->getLocation(); 192 if (Loc.isInvalid()) 195 return !SM.isInSystemHeader(Loc); 1096 bool clang::index::generateUSRForMacro(StringRef MacroName, SourceLocation Loc, argument 1100 if (MacroName.empty() || Loc [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/ |
H A D | RemarkStreamer.cpp | 91 R.Loc = toRemarkLocation(Diag.getLocation()); 98 R.Args.back().Loc = toRemarkLocation(Arg.Loc);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCWasmStreamer.cpp | 152 SMLoc Loc) { 153 MCObjectStreamer::EmitValueImpl(Value, Size, Loc); 222 SMLoc Loc) { 151 EmitValueImpl(const MCExpr *Value, unsigned Size, SMLoc Loc) argument 220 EmitZerofill(MCSection *Section, MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment, SMLoc Loc) argument
|
H A D | MCELFStreamer.cpp | 99 void MCELFStreamer::EmitLabel(MCSymbol *S, SMLoc Loc) { argument 101 MCObjectStreamer::EmitLabel(Symbol, Loc); 109 void MCELFStreamer::EmitLabelAtPos(MCSymbol *S, SMLoc Loc, MCFragment *F, argument 112 MCObjectStreamer::EmitLabelAtPos(Symbol, Loc, F, Offset); 342 SMLoc Loc) { 346 MCObjectStreamer::EmitValueImpl(Value, Size, Loc); 689 SMLoc Loc) { 341 EmitValueImpl(const MCExpr *Value, unsigned Size, SMLoc Loc) argument 687 EmitZerofill(MCSection *Section, MCSymbol *Symbol, uint64_t Size, unsigned ByteAlignment, SMLoc Loc) argument
|
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCInst.h | 165 SMLoc Loc; member in class:llvm::MCInst 177 void setLoc(SMLoc loc) { Loc = loc; } 178 SMLoc getLoc() const { return Loc; }
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | Stmt.cpp | 356 AttributedStmt *AttributedStmt::Create(const ASTContext &C, SourceLocation Loc, argument 362 return new (Mem) AttributedStmt(Loc, Attrs, SubStmt); 1150 SEHExceptStmt::SEHExceptStmt(SourceLocation Loc, Expr *FilterExpr, Stmt *Block) argument 1151 : Stmt(SEHExceptStmtClass), Loc(Loc) { 1156 SEHExceptStmt* SEHExceptStmt::Create(const ASTContext &C, SourceLocation Loc, argument 1158 return new(C) SEHExceptStmt(Loc,FilterExpr,Block); 1161 SEHFinallyStmt::SEHFinallyStmt(SourceLocation Loc, Stmt *Block) argument 1162 : Stmt(SEHFinallyStmtClass), Loc(Loc), Bloc 1164 Create(const ASTContext &C, SourceLocation Loc, Stmt *Block) argument 1169 Capture(SourceLocation Loc, VariableCaptureKind Kind, VarDecl *Var) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchersMacros.h | 408 static TypeLoc (T::*value())() const { return &T::FunctionName##Loc; } \ 417 ReturnTypesF>::Func MatcherName##Loc; \ 425 ReturnTypesF>::Func MatcherName##Loc; \ 433 static TypeLoc (T::*value())() const { return &T::FunctionName##Loc; } \ 440 ReturnTypesF>::Func MatcherName##Loc; \
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | SarifDiagnostics.cpp | 148 static unsigned int adjustColumnPos(const SourceManager &SM, SourceLocation Loc, argument 150 assert(!Loc.isInvalid() && "invalid Loc when adjusting column position"); 152 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedExpansionLoc(Loc); 153 assert(LocInfo.second > SM.getExpansionColumnNumber(Loc) && 164 unsigned int Off = LocInfo.second - (SM.getExpansionColumnNumber(Loc) - 1);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Remarks/ |
H A D | YAMLRemarkParser.cpp | 245 TheRemark.Loc = *MaybeLoc; 370 Optional<RemarkLocation> Loc; local 381 if (Loc) 386 Loc = *MaybeLoc; 411 return Argument{*KeyStr, *ValueStr, Loc};
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaObjCProperty.cpp | 316 SourceLocation LParenLoc, SourceLocation &Loc) { 337 Loc = Tok.getLocation(); 1721 SourceLocation Loc) { 1735 else if (CheckAssignmentConstraints(Loc, GetterType, PropertyRValueType) 1737 Diag(Loc, diag::err_property_accessor_type) 1752 Diag(Loc, diag::warn_accessor_property_type_mismatch) 2450 SourceLocation Loc = property->getLocation(); local 2468 Context, Loc, Loc, property->getGetterName(), resultTy, nullptr, CD, 2480 GetterMethod->addAttr(ObjCDirectAttr::CreateImplicit(Context, Loc)); 315 LocPropertyAttribute( ASTContext &Context, const char *attrName, SourceLocation LParenLoc, SourceLocation &Loc) argument 1719 DiagnosePropertyAccessorMismatch(ObjCPropertyDecl *property, ObjCMethodDecl *GetterMethod, SourceLocation Loc) argument 2514 SourceLocation Loc = property->getLocation(); local 2617 CheckObjCPropertyAttributes(Decl *PDecl, SourceLocation Loc, unsigned &Attributes, bool propertyInPrimaryClass) argument [all...] |
H A D | SemaTemplateInstantiate.cpp | 892 SourceLocation Loc; member in class:__anon50::TemplateInstantiator 900 SourceLocation Loc, 902 : inherited(SemaRef), TemplateArgs(TemplateArgs), Loc(Loc), 913 SourceLocation getBaseLocation() { return Loc; } 920 void setBase(SourceLocation Loc, DeclarationName Entity) { argument 921 this->Loc = Loc; 979 Decl *TransformDecl(SourceLocation Loc, Decl *D); 1022 Decl *TransformDefinition(SourceLocation Loc, Dec 898 TemplateInstantiator(Sema &SemaRef, const MultiLevelTemplateArgumentList &TemplateArgs, SourceLocation Loc, DeclarationName Entity) argument 1193 TransformDecl(SourceLocation Loc, Decl *D) argument 1228 TransformDefinition(SourceLocation Loc, Decl *D) argument 1238 TransformFirstQualifierInScope(NamedDecl *D, SourceLocation Loc) argument 1583 RebuildVarDeclRefExpr(VarDecl *PD, SourceLocation Loc) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
H A D | AnalysisConsumer.cpp | 115 [&](unsigned ID, SourceLocation Loc, StringRef String, 118 Diag.Report(Loc, ID) << String << Ranges << Fixits; 120 Diag.Report(Loc, ID) << String << Ranges; 132 Diag.Report(Loc, RemarkID) << OS.str(); 307 PresumedLoc Loc = SM.getPresumedLoc(D->getLocation()); local 308 if (Loc.isValid()) { 328 llvm::errs() << ": " << Loc.getFilename() << ' ' 699 PresumedLoc Loc = Ctx->getSourceManager().getPresumedLoc(D->getLocation()); local 701 if (Loc.isValid()) { 702 OS << "block (line: " << Loc [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDeclCXX.cpp | 338 SourceLocation Loc, bool TLS) { 356 !isInSanitizerBlacklist(SanitizerKind::Address, Fn, Loc)) 360 !isInSanitizerBlacklist(SanitizerKind::KernelAddress, Fn, Loc)) 364 !isInSanitizerBlacklist(SanitizerKind::HWAddress, Fn, Loc)) 368 !isInSanitizerBlacklist(SanitizerKind::KernelHWAddress, Fn, Loc)) 372 !isInSanitizerBlacklist(SanitizerKind::MemTag, Fn, Loc)) 376 !isInSanitizerBlacklist(SanitizerKind::Thread, Fn, Loc)) 380 !isInSanitizerBlacklist(SanitizerKind::Memory, Fn, Loc)) 384 !isInSanitizerBlacklist(SanitizerKind::KernelMemory, Fn, Loc)) 388 !isInSanitizerBlacklist(SanitizerKind::SafeStack, Fn, Loc)) 336 CreateGlobalInitOrDestructFunction( llvm::FunctionType *FTy, const Twine &Name, const CGFunctionInfo &FI, SourceLocation Loc, bool TLS) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | Preprocessor.cpp | 257 void Preprocessor::DumpLocation(SourceLocation Loc) const { 258 Loc.print(llvm::errs(), SourceMgr); 354 SourceLocation Loc, 361 Def = I->second.findDirectiveAtLoc(Loc, SourceMgr); 491 SourceLocation Loc = ScratchBuf->getToken(Str.data(), Str.size(), DestPtr); local 494 Loc = SourceMgr.createExpansionLoc(Loc, ExpansionLocStart, 496 Tok.setLocation(Loc); 505 SourceLocation Preprocessor::SplitToken(SourceLocation Loc, unsigned Length) { argument 507 SourceLocation SpellingLoc = SM.getSpellingLoc(Loc); 353 getLastMacroWithSpelling( SourceLocation Loc, ArrayRef<TokenValue> Tokens) const argument 1288 makeModuleVisible(Module *M, SourceLocation Loc) argument [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | Expr.h | 241 bool isUnusedResultAWarning(const Expr *&WarnExpr, SourceLocation &Loc, 303 /// \param Loc [in,out] - A source location which *may* be filled 307 isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc = nullptr) const; 396 /// \param Loc A source location that might be filled with a relevant location 398 Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{ 399 return ClassifyImpl(Ctx, &Loc); 437 Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const; 507 /// valid i-c-e, return false and fill in Loc (if specified) with the location 513 SourceLocation *Loc = nullptr, 516 SourceLocation *Loc 1080 OpaqueValueExpr(SourceLocation Loc, QualType T, ExprValueKind VK, ExprObjectKind OK = OK_Ordinary, Expr *SourceExpr = nullptr) argument 1447 SourceLocation Loc; member in class:clang::IntegerLiteral 1490 SourceLocation Loc; member in class:clang::FixedPointLiteral 1542 SourceLocation Loc; member in class:clang::CharacterLiteral 1584 SourceLocation Loc; member in class:clang::FloatingLiteral 2019 setLParen(SourceLocation Loc) argument 2023 setRParen(SourceLocation Loc) argument 4221 GNUNullExpr(QualType Ty, SourceLocation Loc) argument 4557 setLBraceLoc(SourceLocation Loc) argument 4559 setRBraceLoc(SourceLocation Loc) argument [all...] |
H A D | Stmt.h | 367 SourceLocation Loc; member in class:clang::PredefinedExprBitfields 384 SourceLocation Loc; member in class:clang::DeclRefExprBitfields 435 SourceLocation Loc; member in class:clang::UnaryOperatorBitfields 637 SourceLocation Loc; member in class:clang::CXXBoolLiteralExprBitfields 646 SourceLocation Loc; member in class:clang::CXXNullPtrLiteralExprBitfields 658 SourceLocation Loc; member in class:clang::CXXThisExprBitfields 681 SourceLocation Loc; member in class:clang::CXXDefaultArgExprBitfields 691 SourceLocation Loc; member in class:clang::CXXDefaultInitExprBitfields 758 SourceLocation Loc; member in class:clang::CXXDeleteExprBitfields 804 SourceLocation Loc; member in class:clang::CXXConstructExprBitfields 968 SourceLocation Loc; member in class:clang::OpaqueValueExprBitfields 1365 CompoundStmt(SourceLocation Loc) argument 1799 AttributedStmt(SourceLocation Loc, ArrayRef<const Attr *> Attrs, Stmt *SubStmt) argument 3224 SourceLocation Loc; member in class:clang::SEHExceptStmt 3268 SourceLocation Loc; member in class:clang::SEHFinallyStmt 3406 SourceLocation Loc; member in class:clang::CapturedStmt::Capture [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | ASTUnit.cpp | 1088 FullSourceLoc Loc(SD.getLocation(), SM); 1089 SD.setLocation(Loc); 2384 FullSourceLoc Loc(L, SrcMgr); 2406 SD.Message, Loc, Ranges, FixIts)); 2419 SourceLocation Loc = D->getLocation(); local 2420 if (Loc.isInvalid() || !SM.isLocalSourceLocation(Loc)) 2427 SourceLocation FileLoc = SM.getFileLoc(Loc); 2498 SourceLocation Loc = SM.translateFileLineCol(File, Line, Col); local 2499 return SM.getMacroArgExpandedLocation(Loc); [all...] |