Home
last modified time | relevance | path

Searched refs:isInSystemHeader (Results 1 – 25 of 56) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h161 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 DTaggedUnionModeling.h43 if (Call.isInSystemHeader()) in removeInformationStoredForDeadInstances()
H A DUnreachableCodeChecker.cpp170 if (SM.isInSystemHeader(SL) || SM.isInExternCSystemHeader(SL)) in checkEndAnalysis()
H A DSimpleStreamChecker.cpp200 if (!Call.isInSystemHeader()) in guaranteedNotToCloseFile()
H A DTrustNonnullChecker.cpp82 if (!Call.isInSystemHeader()) in checkPostCall()
H A DErrnoChecker.cpp207 C.getSourceManager().isInSystemHeader(CallF->getLocation()) && in checkPreCall()
H A DErrnoModeling.cpp87 return ACtx.getSourceManager().isInSystemHeader(VD->getLocation()) && in REGISTER_TRAIT_WITH_PROGRAMSTATE()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DNoUncountedMembersChecker.cpp110 if (BR->getSourceManager().isInSystemHeader(RDLocation)) in shouldSkipDecl()
H A DUncountedLocalVarsChecker.cpp249 return BR->getSourceManager().isInSystemHeader(V->getLocation()); in shouldSkipVarDecl()
H A DUncountedCallArgsChecker.cpp151 if (BR->getSourceManager().isInSystemHeader(CE->getExprLoc())) in shouldSkipCall()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp65 if (SM.isInSystemHeader(Range.getBegin()) || in validateRange()
66 SM.isInSystemHeader(Range.getEnd())) in validateRange()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp66 if (SourceMgr.isInSystemHeader(DirLoc.getLoc())) in addCondDirectiveLoc()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp406 !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 DCodeGenPGO.cpp1049 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 DSourceLocation.h429 bool isInSystemHeader() const;
H A DSourceManager.h1533 bool isInSystemHeader(SourceLocation Loc) const { in isInSystemHeader() function
1559 return isInSystemHeader(getSpellingLoc(loc)); in isInSystemMacro()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp243 if (Reason == Reserved && S.getSourceManager().isInSystemHeader(Loc)) in DiagReservedModuleName()
355 if (!getSourceManager().isInSystemHeader(Path[0].second) && in ActOnModuleDecl()
H A DSemaAvailability.cpp536 S.getSourceManager().isInSystemHeader( in DoEmitAvailabilityWarning()
624 !S.getSourceManager().isInSystemHeader(InstantiationLoc); in DoEmitAvailabilityWarning()
H A DSemaExceptionSpec.cpp70 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 DTransUnbridgedCasts.cpp109 if (loc.isValid() && Pass.Ctx.getSourceManager().isInSystemHeader(loc)) in VisitCastExpr()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp202 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 DCallEvent.h262 bool isInSystemHeader() const { in isInSystemHeader() function
271 return SM.isInSystemHeader(D->getLocation()); in isInSystemHeader()
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp340 SM.isInSystemHeader(PM.MacroNameToken.getLocation())); in EndOfMainFile()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp535 return Caller->isInSystemHeader(); in isCalledFromSystemHeader()
1375 if (isInSystemHeader() && !isInstanceMessage()) { in argumentsMayEscape()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp648 if (Loc.isInvalid() || SM.isInSystemHeader(Loc)) in getModeForDecl()

123