Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/clang/lib/ExtractAPI/
H A DExtractAPIVisitor.cpp47 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 DExtractAPIConsumer.cpp294 SM.isInSystemHeader(PM.MacroNameToken.getLocation())); in EndOfMainFile()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DSourceLocation.cpp250 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 DErrnoModeling.cpp83 return ACtx.getSourceManager().isInSystemHeader(VD->getLocation()) && in REGISTER_TRAIT_WITH_PROGRAMSTATE()
106 return ACtx.getSourceManager().isInSystemHeader(FD->getLocation()) && in getErrnoFunc()
H A DUnreachableCodeChecker.cpp170 if (SM.isInSystemHeader(SL) || SM.isInExternCSystemHeader(SL)) in checkEndAnalysis()
H A DTrustNonnullChecker.cpp83 if (!Call.isInSystemHeader()) in checkPostCall()
H A DErrnoChecker.cpp207 C.getSourceManager().isInSystemHeader(CallF->getLocation()) && in checkPreCall()
H A DSimpleStreamChecker.cpp219 if (!Call.isInSystemHeader()) in guaranteedNotToCloseFile()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DNoUncountedMembersChecker.cpp111 if (BR->getSourceManager().isInSystemHeader(RDLocation)) in shouldSkipDecl()
/openbsd-src/gnu/llvm/clang/lib/Tooling/Transformer/
H A DSourceCode.cpp65 if (SM.isInSystemHeader(Range.getBegin()) || in validateRange()
66 SM.isInSystemHeader(Range.getEnd())) in validateRange()
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DPPConditionalDirectiveRecord.cpp66 if (SourceMgr.isInSystemHeader(DirLoc.getLoc())) in addCondDirectiveLoc()
H A DPPDirectives.cpp336 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 DHeaderIncludeGen.cpp288 return SrcMgr::isSystem(NewFileType) && !SM.isInSystemHeader(PrevLoc); in shouldRecordNewFile()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCXSourceLocation.cpp208 return SM.isInSystemHeader(Loc); in clang_Location_isInSystemHeader()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DSourceLocation.h427 bool isInSystemHeader() const;
H A DSourceManager.h1507 bool isInSystemHeader(SourceLocation Loc) const { in isInSystemHeader() function
1533 return isInSystemHeader(getSpellingLoc(loc)); in isInSystemMacro()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaModule.cpp168 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 DUSRGeneration.cpp200 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 DCallEvent.h253 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 DUninitializedObjectChecker.cpp248 if (State->getStateManager().getContext().getSourceManager().isInSystemHeader( in addFieldToUninits()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp305 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 DAnalysisConsumer.cpp647 if (Loc.isInvalid() || SM.isInSystemHeader(Loc)) in getModeForDecl()

123