| /openbsd-src/gnu/llvm/clang/lib/ExtractAPI/ |
| H A D | ExtractAPIVisitor.cpp | 47 bool isInSystemHeader(const ASTContext &Context, const DeclTy *D) { in isInSystemHeader() function 48 return Context.getSourceManager().isInSystemHeader(D->getLocation()); in isInSystemHeader() 93 Declaration, SubHeading, isInSystemHeader(Context, Decl)); in VisitVarDecl() 156 isInSystemHeader(Context, Decl)); in VisitFunctionDecl() 198 Declaration, SubHeading, isInSystemHeader(Context, Decl)); in VisitEnumDecl() 241 SubHeading, isInSystemHeader(Context, Decl)); in VisitRecordDecl() 283 SubHeading, SuperClass, isInSystemHeader(Context, Decl)); in VisitObjCInterfaceDecl() 321 isInSystemHeader(Context, Decl)); in VisitObjCProtocolDecl() 358 isInSystemHeader(Context, Decl)); in VisitTypedefNameDecl() 385 Interface, isInSystemHeader(Context, Decl)); in VisitObjCCategoryDecl() [all …]
|
| H A D | ExtractAPIConsumer.cpp | 294 SM.isInSystemHeader(PM.MacroNameToken.getLocation())); in EndOfMainFile()
|
| /openbsd-src/gnu/llvm/clang/lib/Edit/ |
| H A D | Commit.cpp | 239 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()
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | SourceLocation.cpp | 250 bool FullSourceLoc::isInSystemHeader() const { in isInSystemHeader() function in FullSourceLoc 252 return SrcMgr->isInSystemHeader(*this); in isInSystemHeader()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ErrnoModeling.cpp | 83 return ACtx.getSourceManager().isInSystemHeader(VD->getLocation()) && in REGISTER_TRAIT_WITH_PROGRAMSTATE() 106 return ACtx.getSourceManager().isInSystemHeader(FD->getLocation()) && in getErrnoFunc()
|
| H A D | UnreachableCodeChecker.cpp | 170 if (SM.isInSystemHeader(SL) || SM.isInExternCSystemHeader(SL)) in checkEndAnalysis()
|
| H A D | TrustNonnullChecker.cpp | 83 if (!Call.isInSystemHeader()) in checkPostCall()
|
| H A D | ErrnoChecker.cpp | 207 C.getSourceManager().isInSystemHeader(CallF->getLocation()) && in checkPreCall()
|
| H A D | SimpleStreamChecker.cpp | 219 if (!Call.isInSystemHeader()) in guaranteedNotToCloseFile()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | NoUncountedMembersChecker.cpp | 111 if (BR->getSourceManager().isInSystemHeader(RDLocation)) in shouldSkipDecl()
|
| /openbsd-src/gnu/llvm/clang/lib/Tooling/Transformer/ |
| H A D | SourceCode.cpp | 65 if (SM.isInSystemHeader(Range.getBegin()) || in validateRange() 66 SM.isInSystemHeader(Range.getEnd())) in validateRange()
|
| /openbsd-src/gnu/llvm/clang/lib/Lex/ |
| H A D | PPConditionalDirectiveRecord.cpp | 66 if (SourceMgr.isInSystemHeader(DirLoc.getLoc())) in addCondDirectiveLoc()
|
| H A D | PPDirectives.cpp | 336 if (!SourceMgr.isInSystemHeader(MacroNameLoc) && in CheckMacroName() 880 SourceMgr.isInSystemHeader(Loc)); in getHeaderToIncludeForDiagnostics() 3091 !SourceMgr.isInSystemHeader(DefineTok.getLocation())) && in HandleDefineDirective() 3104 !SourceMgr.isInSystemHeader(DefineTok.getLocation())) { in HandleDefineDirective()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | HeaderIncludeGen.cpp | 288 return SrcMgr::isSystem(NewFileType) && !SM.isInSystemHeader(PrevLoc); in shouldRecordNewFile()
|
| /openbsd-src/gnu/llvm/clang/lib/ARCMigrate/ |
| H A D | TransformActions.cpp | 388 if (SM.isInSystemHeader(SM.getExpansionLoc(loc))) in canInsert() 401 if (SM.isInSystemHeader(SM.getExpansionLoc(loc))) in canInsertAfterToken()
|
| H A D | TransUnbridgedCasts.cpp | 109 if (loc.isValid() && Pass.Ctx.getSourceManager().isInSystemHeader(loc)) in VisitCastExpr()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CXSourceLocation.cpp | 208 return SM.isInSystemHeader(Loc); in clang_Location_isInSystemHeader()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | SourceLocation.h | 427 bool isInSystemHeader() const;
|
| H A D | SourceManager.h | 1507 bool isInSystemHeader(SourceLocation Loc) const { in isInSystemHeader() function 1533 return isInSystemHeader(getSpellingLoc(loc)); in isInSystemMacro()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaModule.cpp | 168 if (Reason == Reserved && S.getSourceManager().isInSystemHeader(Loc)) in DiagReservedModuleName() 275 if (!getSourceManager().isInSystemHeader(Path[0].second) && in ActOnModuleDecl()
|
| /openbsd-src/gnu/llvm/clang/lib/Index/ |
| H A D | USRGeneration.cpp | 200 return !SM.isInSystemHeader(Loc); in ShouldGenerateLocation() 1167 bool ShouldGenerateLocation = Loc.isValid() && !SM.isInSystemHeader(Loc); in generateUSRForMacro()
|
| /openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | CallEvent.h | 253 bool isInSystemHeader() const { in isInSystemHeader() function 262 return SM.isInSystemHeader(D->getLocation()); in isInSystemHeader()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
| H A D | UninitializedObjectChecker.cpp | 248 if (State->getStateManager().getContext().getSourceManager().isInSystemHeader( in addFieldToUninits()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CoverageMappingGen.cpp | 305 if (SM.isInSystemHeader(SM.getSpellingLoc(Loc))) in gatherFileIDs() 420 if (SM.isInSystemHeader(SM.getSpellingLoc(LocStart))) in emitSourceRegions() 1004 if (Body && SM.isInSystemHeader(SM.getSpellingLoc(getStart(Body)))) in VisitDecl()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | AnalysisConsumer.cpp | 647 if (Loc.isInvalid() || SM.isInSystemHeader(Loc)) in getModeForDecl()
|