Home
last modified time | relevance | path

Searched refs:getFileCharacteristic (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/portability/
H A DStdAllocatorConstCheck.cpp59 if (isSystem(Result.Context->getSourceManager().getFileCharacteristic( in check()
/llvm-project-15.0.7/clang/lib/Index/
H A DIndexingContext.cpp126 if (SEntry.getFile().getFileCharacteristic() != SrcMgr::C_User) { in importedModule()
378 if (SEntry.getFile().getFileCharacteristic() != SrcMgr::C_User) { in handleDeclOccurrence()
506 return SEntry.getFile().getFileCharacteristic() == SrcMgr::C_User; in shouldIndexMacroOccurrence()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp121 if (BR->getSourceManager().getFileCharacteristic(RDLocation) != in shouldSkipDecl()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DSourceManager.h329 CharacteristicKind getFileCharacteristic() const { in getFileCharacteristic() function
1431 SrcMgr::CharacteristicKind getFileCharacteristic(SourceLocation Loc) const;
1505 return isSystem(getFileCharacteristic(Loc)); in isInSystemHeader()
1510 return getFileCharacteristic(Loc) == SrcMgr::C_ExternCSystem; in isInExternCSystemHeader()
/llvm-project-15.0.7/clang/lib/Lex/
H A DPPLexerChange.cpp132 SourceMgr.getFileCharacteristic(CurLexer->getFileLoc()); in EnterSourceFileWithLexer()
501 SourceMgr.getFileCharacteristic(Loc); in HandleEndOfFile()
H A DPPDirectives.cpp1458 SourceMgr.getFileCharacteristic(DigitTok.getLocation()); in HandleLineDirective()
1574 FileKind = SourceMgr.getFileCharacteristic(DigitTok.getLocation()); in HandleDigitDirective()
2310 SourceMgr.getFileCharacteristic(FilenameTok.getLocation()); in HandleHeaderIncludeOrImport()
/llvm-project-15.0.7/clang/lib/Basic/
H A DSourceManager.cpp1467 SourceManager::getFileCharacteristic(SourceLocation Loc) const { in getFileCharacteristic() function in SourceManager
1479 return FI.getFileCharacteristic(); in getFileCharacteristic()
1488 return FI.getFileCharacteristic(); in getFileCharacteristic()
1778 if (File.getFileCharacteristic() == C_User_ModuleMap || in computeMacroArgsCache()
1779 File.getFileCharacteristic() == C_System_ModuleMap) in computeMacroArgsCache()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DPaddingChecker.cpp142 BR->getSourceManager().getFileCharacteristic(Location); in shouldSkipDecl()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp437 FileType = SM.getFileCharacteristic(RawToken.getLocation()); in Process()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp1557 if (isModuleMap(File.getFileCharacteristic()) && in WriteInputFiles()
1558 !isSystem(File.getFileCharacteristic()) && in WriteInputFiles()
1569 Entry.IsSystemFile = isSystem(File.getFileCharacteristic()); in WriteInputFiles()
1572 Entry.IsTopLevelModuleMap = isModuleMap(File.getFileCharacteristic()) && in WriteInputFiles()
2084 Record.push_back(File.getFileCharacteristic()); // FIXME: stable encoding in WriteSourceManagerBlock()
/llvm-project-15.0.7/clang/lib/AST/
H A DASTImporter.cpp9407 FromSLoc.getFile().getFileCharacteristic()); in Import()
9423 FromSLoc.getFile().getFileCharacteristic()); in Import()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaType.cpp4300 if (fileInfo.getFileCharacteristic() != SrcMgr::C_User && in getNullabilityCompletenessCheckFileID()