/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/ |
H A D | ExtractAPIVisitor.h | 161 bool isInSystemHeader(const Decl *D) { in isInSystemHeader() function 162 return Context.getSourceManager().isInSystemHeader(D->getLocation()); in isInSystemHeader() 307 SubHeading, Access, isInSystemHeader(Decl)); in VisitVarDecl() 313 SubHeading, isInSystemHeader(Decl)); in VisitVarDecl() 381 SubHeading, Signature, isInSystemHeader(Decl)); in VisitFunctionDecl() 388 Signature, isInSystemHeader(Decl)); in VisitFunctionDecl() 424 SubHeading, isInSystemHeader(Decl), false); in VisitEnumDecl() 546 SubHeading, isInSystemHeader(Decl)); in VisitNamespaceDecl() 581 SubHeading, isInSystemHeader(Decl), isEmbeddedInVarDeclarator(*Decl)); in VisitRecordDecl() 586 SubHeading, isInSystemHeader(Decl), isEmbeddedInVarDeclarator(*Decl)); in VisitRecordDecl() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | TaggedUnionModeling.h | 43 if (Call.isInSystemHeader()) in removeInformationStoredForDeadInstances()
|
H A D | UnreachableCodeChecker.cpp | 170 if (SM.isInSystemHeader(SL) || SM.isInExternCSystemHeader(SL)) in checkEndAnalysis()
|
H A D | SimpleStreamChecker.cpp | 200 if (!Call.isInSystemHeader()) in guaranteedNotToCloseFile()
|
H A D | TrustNonnullChecker.cpp | 82 if (!Call.isInSystemHeader()) in checkPostCall()
|
H A D | ErrnoChecker.cpp | 207 C.getSourceManager().isInSystemHeader(CallF->getLocation()) && in checkPreCall()
|
H A D | ErrnoModeling.cpp | 87 return ACtx.getSourceManager().isInSystemHeader(VD->getLocation()) && in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | NoUncountedMembersChecker.cpp | 110 if (BR->getSourceManager().isInSystemHeader(RDLocation)) in shouldSkipDecl()
|
H A D | UncountedLocalVarsChecker.cpp | 249 return BR->getSourceManager().isInSystemHeader(V->getLocation()); in shouldSkipVarDecl()
|
H A D | UncountedCallArgsChecker.cpp | 151 if (BR->getSourceManager().isInSystemHeader(CE->getExprLoc())) in shouldSkipCall()
|
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/ |
H A D | SourceCode.cpp | 65 if (SM.isInSystemHeader(Range.getBegin()) || in validateRange() 66 SM.isInSystemHeader(Range.getEnd())) in validateRange()
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | PPConditionalDirectiveRecord.cpp | 66 if (SourceMgr.isInSystemHeader(DirLoc.getLoc())) in addCondDirectiveLoc()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CoverageMappingGen.cpp | 406 !SM.isInSystemHeader(SM.getSpellingLoc(Loc))); in gatherFileIDs() 522 SM.isInSystemHeader(SM.getSpellingLoc(LocStart))) { in emitSourceRegions() 1478 SM.isInSystemHeader(SM.getSpellingLoc(getStart(Body)))) in VisitDecl() 2207 SM.isInSystemHeader(SM.getSpellingLoc(E->getOperatorLoc())) && in isExprInSystemHeader() 2208 SM.isInSystemHeader(SM.getSpellingLoc(E->getBeginLoc())) && in isExprInSystemHeader() 2209 SM.isInSystemHeader(SM.getSpellingLoc(E->getEndLoc()))); in isExprInSystemHeader()
|
H A D | CodeGenPGO.cpp | 1049 SM.isInSystemHeader(D->getLocation())) in assignRegionCounters() 1123 return !llvm::coverage::SystemHeadersCoverage && SM.isInSystemHeader(Loc); in skipRegionMappingForDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | SourceLocation.h | 429 bool isInSystemHeader() const;
|
H A D | SourceManager.h | 1533 bool isInSystemHeader(SourceLocation Loc) const { in isInSystemHeader() function 1559 return isInSystemHeader(getSpellingLoc(loc)); in isInSystemMacro()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaModule.cpp | 243 if (Reason == Reserved && S.getSourceManager().isInSystemHeader(Loc)) in DiagReservedModuleName() 355 if (!getSourceManager().isInSystemHeader(Path[0].second) && in ActOnModuleDecl()
|
H A D | SemaAvailability.cpp | 536 S.getSourceManager().isInSystemHeader( in DoEmitAvailabilityWarning() 624 !S.getSourceManager().isInSystemHeader(InstantiationLoc); in DoEmitAvailabilityWarning()
|
H A D | SemaExceptionSpec.cpp | 70 if (!Context.getSourceManager().isInSystemHeader(D.getBeginLoc())) in isLibstdcxxEagerExceptionSpecHack() 356 Context.getSourceManager().isInSystemHeader(Old->getLocation()) || in CheckEquivalentExceptionSpec()
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransUnbridgedCasts.cpp | 109 if (loc.isValid() && Pass.Ctx.getSourceManager().isInSystemHeader(loc)) in VisitCastExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | USRGeneration.cpp | 202 return !SM.isInSystemHeader(Loc); in ShouldGenerateLocation() 1226 bool ShouldGenerateLocation = Loc.isValid() && !SM.isInSystemHeader(Loc); in generateUSRForMacro()
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | CallEvent.h | 262 bool isInSystemHeader() const { in isInSystemHeader() function 271 return SM.isInSystemHeader(D->getLocation()); in isInSystemHeader()
|
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
H A D | ExtractAPIConsumer.cpp | 340 SM.isInSystemHeader(PM.MacroNameToken.getLocation())); in EndOfMainFile()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | CallEvent.cpp | 535 return Caller->isInSystemHeader(); in isCalledFromSystemHeader() 1375 if (isInSystemHeader() && !isInstanceMessage()) { in argumentsMayEscape()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
H A D | AnalysisConsumer.cpp | 648 if (Loc.isInvalid() || SM.isInSystemHeader(Loc)) in getModeForDecl()
|