| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseAST.cpp | 70 const Preprocessor &PP = P.getPreprocessor(); in print() 78 const SourceManager &SM = P.getPreprocessor().getSourceManager(); in print() 132 new Parser(S.getPreprocessor(), S, SkipFunctionBodies)); in ParseAST() 143 S.getPreprocessor().EnterMainSourceFile(); in ParseAST() 151 bool HaveLexer = S.getPreprocessor().getCurrentLexer(); in ParseAST()
|
| H A D | ParseOpenMP.cpp | 136 : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok)); in parseOpenMPDirectiveKind() 144 Tok = P.getPreprocessor().LookAhead(0); in parseOpenMPDirectiveKind() 148 : getOpenMPDirectiveKindEx(P.getPreprocessor().getSpelling(Tok)); in parseOpenMPDirectiveKind() 1783 Preprocessor &PP = P.getPreprocessor(); in isMapModifier() 1794 Preprocessor &PP = P.getPreprocessor(); in parseMapTypeModifiers() 1829 Preprocessor &PP = P.getPreprocessor(); in isMapType()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | FrontendAction.cpp | 144 return CI.getPreprocessor().getHeaderSearchInfo().lookupModule( in getCurrentModule() 270 StringLiteralParser Literal(T, CI.getPreprocessor()); in ReadOriginalFileName() 477 CI.getPreprocessor().setMainFileDir(M->Directory); in prepareToBuildModule() 496 CI.getPreprocessor().getHeaderSearchInfo().getModuleMap() in prepareToBuildModule() 647 Preprocessor &PP = CI.getPreprocessor(); in BeginSourceFile() 805 CI.getPreprocessor() in BeginSourceFile() 888 Preprocessor &PP = CI.getPreprocessor(); in BeginSourceFile() 959 CI.getPreprocessor().EndSourceFile(); in EndSourceFile() 980 CI.getPreprocessor().PrintStats(); in EndSourceFile() 981 CI.getPreprocessor().getIdentifierTable().PrintStats(); in EndSourceFile() [all …]
|
| H A D | FrontendActions.cpp | 113 CI.getPreprocessor(), OutputFile, Sysroot, in CreateASTConsumer() 176 CI.getPreprocessor(), OutputFile, Sysroot, in CreateASTConsumer() 206 HeaderSearch &HS = CI.getPreprocessor().getHeaderSearchInfo(); in CreateOutputFile() 284 auto &HS = CI.getPreprocessor().getHeaderSearchInfo(); in BeginSourceFileAction() 333 CI.getPreprocessor(), &CI.getASTContext(), CI.getPCHContainerReader(), in ExecuteAction() 709 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 724 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 742 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 754 Preprocessor &PP = getCompilerInstance().getPreprocessor(); in ExecuteAction() 828 DoPrintPreprocessedInput(CI.getPreprocessor(), OS.get(), in ExecuteAction() [all …]
|
| H A D | CompilerInstance.cpp | 181 SimpleASTReaderListener Validator(CI.getPreprocessor()); in collectIncludePCH() 477 Preprocessor &PP = getPreprocessor(); in createASTContext() 493 AllowPCHWithCompilerErrors, getPreprocessor(), getASTContext(), in createPCHExternalASTSource() 585 createCodeCompletionConsumer(getPreprocessor(), in createCodeCompletionConsumer() 591 } else if (EnableCodeCompletion(getPreprocessor(), Loc.FileName, in createCodeCompletionConsumer() 1528 CI.getPreprocessor().getIdentifierInfo(ModuleName)); in loadModuleFile() 1533 CI.KnownModules[II] = CI.getPreprocessor() in loadModuleFile() 1543 if (Module *M = CI.getPreprocessor() in loadModuleFile() 1962 checkConfigMacro(getPreprocessor(), TopModule->ConfigMacros[I], in loadModule() 1967 getPreprocessor() in loadModule() [all …]
|
| H A D | ChainedIncludesSource.cpp | 84 Preprocessor &PP = CI.getPreprocessor(); in createASTReader() 157 &Clang->getPreprocessor()); in createChainedIncludesSource() 163 Clang->getPreprocessor(), "-", /*isysroot=*/"", Buffer, in createChainedIncludesSource() 171 Preprocessor &PP = Clang->getPreprocessor(); in createChainedIncludesSource()
|
| H A D | PrecompiledPreamble.cpp | 214 *this, CI.getPreprocessor(), Sysroot, std::move(OS)); in CreateASTConsumer() 349 Clang->getPreprocessor().addPPCallbacks(std::move(DelegatedPPCallbacks)); in Build()
|
| H A D | ASTUnit.cpp | 979 CI.getPreprocessor().addPPCallbacks( in CreateASTConsumer() 1601 Clang->getPreprocessor().addPPCallbacks( in LoadFromCompilerInvocationAction()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangModulesDeclVendor.cpp | 216 if (!m_compiler_instance->getPreprocessor() in AddModule() 377 if (m_compiler_instance->getPreprocessor().getExternalSource()) { in ForEachMacro() 378 m_compiler_instance->getPreprocessor() in ForEachMacro() 384 mi = m_compiler_instance->getPreprocessor().macro_begin(), in ForEachMacro() 385 me = m_compiler_instance->getPreprocessor().macro_end(); in ForEachMacro() 391 m_compiler_instance->getPreprocessor() in ForEachMacro() 405 m_compiler_instance->getPreprocessor().getLeafModuleMacros(ii)) { in ForEachMacro() 652 instance->getPreprocessor().enableIncrementalProcessing(); in Create() 660 instance->getPreprocessor(), instance->getSema(), skipFunctionBodies)); in Create() 662 instance->getPreprocessor().EnterMainSourceFile(); in Create()
|
| H A D | ClangExpressionParser.cpp | 506 m_compiler->getPreprocessor().addPPCallbacks(std::move(pp_callbacks)); in ClangExpressionParser() 512 auto &PP = m_compiler->getPreprocessor(); in ClangExpressionParser() 693 StringRef Filter = SemaRef.getPreprocessor().getCodeCompletionFilter(); in ProcessCodeCompleteResults() 867 &m_compiler->getPreprocessor()); in ParseInternal() 884 auto &PP = m_compiler->getPreprocessor(); in ParseInternal() 894 ParseAST(m_compiler->getPreprocessor(), ast_transformer, in ParseInternal() 899 ParseAST(m_compiler->getPreprocessor(), m_code_generator.get(), in ParseInternal()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| H A D | FrontendActions.cpp | 44 return CreateHTMLPrinter(std::move(OS), CI.getPreprocessor()); in CreateASTConsumer() 187 RewriteMacrosInInput(CI.getPreprocessor(), OS.get()); in ExecuteAction() 196 DoRewriteTest(CI.getPreprocessor(), OS.get()); in ExecuteAction() 241 &CI.getPreprocessor().getPCMCache()); in visitModuleFile() 309 RewriteIncludesInInput(CI.getPreprocessor(), &OS, in ExecuteAction() 314 RewriteIncludesInInput(CI.getPreprocessor(), OutputStream.get(), in ExecuteAction()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | ARCMT.cpp | 285 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in checkForManualIssues() 294 Unit->getPreprocessor()); in checkForManualIssues() 309 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in checkForManualIssues() 315 TransformActions testAct(*Diags, capturedDiags, Ctx, Unit->getPreprocessor()); in checkForManualIssues() 456 CI.getPreprocessor().addPPCallbacks( in CreateASTConsumer() 564 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in applyTransform() 576 DiagClient->BeginSourceFile(Ctx.getLangOpts(), &Unit->getPreprocessor()); in applyTransform() 579 TransformActions TA(*Diags, capturedDiags, Ctx, Unit->getPreprocessor()); in applyTransform()
|
| H A D | ObjCMT.cpp | 197 CI.getPreprocessor().addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in CreateASTConsumer() 202 CompInst->getPreprocessor(), false, None)); in CreateASTConsumer() 2026 CI.getPreprocessor().addPPCallbacks(std::unique_ptr<PPCallbacks>(PPRec)); in CreateASTConsumer() 2031 CI.getFileManager(), PPRec, CI.getPreprocessor(), in CreateASTConsumer()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Index/ |
| H A D | IndexingAction.cpp | 148 CI.getPreprocessor().addPPCallbacks(createIndexPPCallbacks()); in BeginSourceFileAction() 185 CI.getPreprocessor().addPPCallbacks(createIndexPPCallbacks()); in BeginSourceFileAction() 237 indexPreprocessorMacros(Unit.getPreprocessor(), DataConsumer); in indexASTUnit() 274 indexPreprocessorMacros(Reader.getPreprocessor(), DataConsumer); in indexModuleFile()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/ |
| H A D | ModelInjector.cpp | 95 Instance.getPreprocessor().InitializeForModelFile(); in onBodySynthesis() 104 Instance.getPreprocessor().FinalizeForModelFile(); in onBodySynthesis()
|
| H A D | AnalysisConsumer.cpp | 204 PP(CI.getPreprocessor()), OutDir(outdir), Opts(std::move(opts)), in AnalysisConsumer() 762 CI.getPreprocessor().getDiagnostics().setWarningsAsErrors(false); in CreateAnalysisConsumer()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/ |
| H A D | ASTUnit.h | 430 const Preprocessor &getPreprocessor() const { return *PP; } in getPreprocessor() function 431 Preprocessor &getPreprocessor() { return *PP; } in getPreprocessor() function
|
| H A D | CompilerInstance.h | 449 Preprocessor &getPreprocessor() const { in getPreprocessor() function
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenAction.cpp | 891 CI.getPreprocessor().addPPCallbacks( in CreateASTConsumer() 908 CI.getPreprocessor()); in CreateASTConsumer() 909 CI.getPreprocessor().addPPCallbacks(std::move(Callbacks)); in CreateASTConsumer()
|
| H A D | ObjectFilePCHContainerOperations.cpp | 143 MMap(CI.getPreprocessor().getHeaderSearchInfo().getModuleMap()), in PCHContainerGenerator()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | CodeCompleteConsumer.cpp | 546 StringRef Filter = SemaRef.getPreprocessor().getCodeCompletionFilter(); in ProcessCodeCompleteResults()
|
| H A D | AnalysisBasedWarnings.cpp | 121 reachable_code::FindUnreachableCode(AC, S.getPreprocessor(), UC); in CheckUnreachable() 1287 Preprocessor &PP = S.getPreprocessor(); in DiagnoseSwitchLabelsFallthrough()
|
| H A D | Sema.cpp | 1343 if (getPreprocessor().getSpelling(loc, buffer) == name) { in findMacroSpelling()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Serialization/ |
| H A D | ASTReader.h | 1664 Preprocessor &getPreprocessor() const { return PP; } in getPreprocessor() function
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Parse/ |
| H A D | Parser.h | 369 Preprocessor &getPreprocessor() const { return PP; } in getPreprocessor() function
|