Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/clang/lib/Edit/
H A DCommit.cpp239 if (SM.isInSystemHeader(loc)) in canInsert()
269 if (SM.isInSystemHeader(loc)) in canInsertAfterToken()
305 if (SM.isInSystemHeader(range.getBegin()) || in canRemoveRange()
306 SM.isInSystemHeader(range.getEnd())) in canRemoveRange()
/llvm-project-15.0.7/clang/lib/Basic/
H A DSourceLocation.cpp246 bool FullSourceLoc::isInSystemHeader() const { in isInSystemHeader() function in FullSourceLoc
248 return SrcMgr->isInSystemHeader(*this); in isInSystemHeader()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DErrnoModeling.cpp82 return ACtx.getSourceManager().isInSystemHeader(VD->getLocation()) && in REGISTER_TRAIT_WITH_PROGRAMSTATE()
105 return ACtx.getSourceManager().isInSystemHeader(FD->getLocation()) && in getErrnoFunc()
H A DUnreachableCodeChecker.cpp169 if (SM.isInSystemHeader(SL) || SM.isInExternCSystemHeader(SL)) in checkEndAnalysis()
H A DTrustNonnullChecker.cpp83 if (!Call.isInSystemHeader()) in checkPostCall()
H A DErrnoChecker.cpp206 C.getSourceManager().isInSystemHeader(CallF->getLocation()) && in checkPreCall()
H A DSimpleStreamChecker.cpp219 if (!Call.isInSystemHeader()) in guaranteedNotToCloseFile()
/llvm-project-15.0.7/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp63 if (SM.isInSystemHeader(Range.getBegin()) || in validateEditRange()
64 SM.isInSystemHeader(Range.getEnd())) in validateEditRange()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DNoUncountedMembersChecker.cpp110 if (BR->getSourceManager().isInSystemHeader(RDLocation)) in shouldSkipDecl()
/llvm-project-15.0.7/clang-tools-extra/clang-doc/
H A DMapper.cpp26 if (D->getASTContext().getSourceManager().isInSystemHeader(D->getLocation())) in mapDecl()
/llvm-project-15.0.7/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp66 if (SourceMgr.isInSystemHeader(DirLoc.getLoc())) in addCondDirectiveLoc()
H A DPPDirectives.cpp355 if (!SourceMgr.isInSystemHeader(MacroNameLoc) && in CheckMacroName()
898 SourceMgr.isInSystemHeader(Loc)); in getHeaderToIncludeForDiagnostics()
3102 !SourceMgr.isInSystemHeader(DefineTok.getLocation())) && in HandleDefineDirective()
3115 !SourceMgr.isInSystemHeader(DefineTok.getLocation())) { in HandleDefineDirective()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DDeprecatedHeadersCheck.cpp192 if (SM.isInSystemHeader(HashLoc)) in InclusionDirective()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DSignalHandlerCheck.cpp276 return FD->getASTContext().getSourceManager().isInSystemHeader( in isStandardFunction()
H A DArgumentCommentCheck.cpp29 return Node.getASTContext().getSourceManager().isInSystemHeader( in AST_MATCHER()
/llvm-project-15.0.7/clang/unittests/Basic/
H A DSourceManagerTest.cpp114 TEST_F(SourceManagerTest, isInSystemHeader) { in TEST_F() argument
117 bool isInSystemHeaderFalse = SourceMgr.isInSystemHeader(LocEmpty); in TEST_F()
/llvm-project-15.0.7/clang/lib/ARCMigrate/
H A DTransformActions.cpp388 if (SM.isInSystemHeader(SM.getExpansionLoc(loc))) in canInsert()
401 if (SM.isInSystemHeader(SM.getExpansionLoc(loc))) in canInsertAfterToken()
H A DTransUnbridgedCasts.cpp109 if (loc.isValid() && Pass.Ctx.getSourceManager().isInSystemHeader(loc)) in VisitCastExpr()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXSourceLocation.cpp208 return SM.isInSystemHeader(Loc); in clang_Location_isInSystemHeader()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSourceLocation.h421 bool isInSystemHeader() const;
H A DSourceManager.h1502 bool isInSystemHeader(SourceLocation Loc) const { in isInSystemHeader() function
1528 return isInSystemHeader(getSpellingLoc(loc)); in isInSystemMacro()
/llvm-project-15.0.7/clang/lib/Index/
H A DUSRGeneration.cpp197 return !SM.isInSystemHeader(Loc); in ShouldGenerateLocation()
1121 bool ShouldGenerateLocation = Loc.isValid() && !SM.isInSystemHeader(Loc); in generateUSRForMacro()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h252 bool isInSystemHeader() const { in isInSystemHeader() function
261 return SM.isInSystemHeader(D->getLocation()); in isInSystemHeader()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/
H A DUninitializedObjectChecker.cpp248 if (State->getStateManager().getContext().getSourceManager().isInSystemHeader( in addFieldToUninits()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp303 if (SM.isInSystemHeader(SM.getSpellingLoc(Loc))) in gatherFileIDs()
418 if (SM.isInSystemHeader(SM.getSpellingLoc(LocStart))) in emitSourceRegions()
1001 if (Body && SM.isInSystemHeader(SM.getSpellingLoc(getStart(Body)))) in VisitDecl()

123