Home
last modified time | relevance | path

Searched refs:getPreprocessorOpts (Results 1 – 24 of 24) sorted by relevance

/external/clang/lib/Frontend/
DChainedIncludesSource.cpp118 std::vector<std::string> &includes = CI.getPreprocessorOpts().ChainedIncludes; in createChainedIncludesSource()
132 CInvok->getPreprocessorOpts().ChainedIncludes.clear(); in createChainedIncludesSource()
133 CInvok->getPreprocessorOpts().ImplicitPCHInclude.clear(); in createChainedIncludesSource()
134 CInvok->getPreprocessorOpts().ImplicitPTHInclude.clear(); in createChainedIncludesSource()
135 CInvok->getPreprocessorOpts().DisablePCHValidation = true; in createChainedIncludesSource()
136 CInvok->getPreprocessorOpts().Includes.clear(); in createChainedIncludesSource()
137 CInvok->getPreprocessorOpts().MacroIncludes.clear(); in createChainedIncludesSource()
138 CInvok->getPreprocessorOpts().Macros.clear(); in createChainedIncludesSource()
DFrontendAction.cpp262 if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
264 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginSourceFile()
277 CI.getLangOpts(), CI.getTargetOpts(), CI.getPreprocessorOpts(), in BeginSourceFile()
327 if (!CI.getPreprocessorOpts().ChainedIncludes.empty()) { in BeginSourceFile()
335 } else if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
341 if (CI.getPreprocessorOpts().DumpDeserializedPCHDecls) { in BeginSourceFile()
346 if (!CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn.empty()) { in BeginSourceFile()
349 CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn, in BeginSourceFile()
354 CI.getPreprocessorOpts().ImplicitPCHInclude, in BeginSourceFile()
355 CI.getPreprocessorOpts().DisablePCHValidation, in BeginSourceFile()
[all …]
DCompilerInstance.cpp297 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createPreprocessor()
310 PP = new Preprocessor(&getPreprocessorOpts(), getDiagnostics(), getLangOpts(), in createPreprocessor()
406 bool Preamble = getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in createPCHExternalASTSource()
898 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in compileModuleImpl()
923 = ImportingInstance.getInvocation().getPreprocessorOpts(); in compileModuleImpl()
1265 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createModuleManager()
1479 if (getPreprocessorOpts().FailedModules && in loadModule()
1480 getPreprocessorOpts().FailedModules->hasAlreadyFailed(ModuleName)) { in loadModule()
1493 if (getPreprocessorOpts().FailedModules) in loadModule()
1494 getPreprocessorOpts().FailedModules->addFailed(ModuleName); in loadModule()
DASTUnit.cpp250 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in ~ASTUnit()
1110 PreprocessorOptions &PreprocessorOpts = Clang->getPreprocessorOpts(); in Parse()
1192 PreprocessorOptions &PreprocessorOpts = Invocation.getPreprocessorOpts(); in ComputePreamble()
1351 = PreambleInvocation->getPreprocessorOpts(); in getMainBufferWithPrecompiledPreamble()
1765 CI->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocationAction()
1873 Invocation->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocation()
1961 CI->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in LoadFromCommandLine()
1964 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); in LoadFromCommandLine()
2032 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in Reparse()
2036 Invocation->getPreprocessorOpts().clearRemappedFiles(); in Reparse()
[all …]
DCompilerInvocation.cpp64 PreprocessorOpts(new PreprocessorOptions(X.getPreprocessorOpts())) {} in CompilerInvocationBase()
2042 ParsePreprocessorArgs(Res.getPreprocessorOpts(), Args, FileMgr, Diags); in CreateFromArgs()
2132 const PreprocessorOptions &ppOpts = getPreprocessorOpts(); in getModuleHash()
2137 I = getPreprocessorOpts().Macros.begin(), in getModuleHash()
2138 IEnd = getPreprocessorOpts().Macros.end(); in getModuleHash()
DFrontendActions.cpp427 bool Preamble = CI.getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in ExecuteAction()
/external/clang/unittests/Frontend/
DFrontendActionTest.cpp81 invocation->getPreprocessorOpts().addRemappedFile( in TEST()
101 invocation->getPreprocessorOpts().addRemappedFile( in TEST()
123 invocation->getPreprocessorOpts().addRemappedFile( in TEST()
174 Invocation->getPreprocessorOpts().addRemappedFile( in TEST()
/external/mesa3d/src/gallium/state_trackers/clover/llvm/
Dinvocation.cpp77 c.getPreprocessorOpts().addRemappedFile(
116 c.getPreprocessorOpts().Includes.push_back("clc/clc.h"); in compile()
119 c.getPreprocessorOpts().addMacroDef("cl_clang_storage_class_specifiers"); in compile()
127 c.getPreprocessorOpts().addRemappedFile(name, in compile()
/external/clang/include/clang/Frontend/
DCompilerInvocation.h91 PreprocessorOptions &getPreprocessorOpts() { return *PreprocessorOpts; } in getPreprocessorOpts() function
92 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
DCompilerInstance.h301 PreprocessorOptions &getPreprocessorOpts() { in getPreprocessorOpts() function
302 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
304 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
305 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
/external/clang/tools/clang-fuzzer/
DClangFuzzer.cpp39 Invocation->getPreprocessorOpts().addRemappedFile("./test.cc", Input.release()); in LLVMFuzzerTestOneInput()
/external/clang/unittests/CodeGen/
DBufferSourceTest.cpp66 compiler.getPreprocessorOpts(), in TEST()
/external/clang/unittests/AST/
DExternalASTSourceTest.cpp52 Invocation->getPreprocessorOpts().addRemappedFile( in testExternalASTSource()
/external/clang/lib/ARCMigrate/
DARCMT.cpp176 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in createInvocationForMigration()
192 CInvok->getPreprocessorOpts().ImplicitPTHInclude.clear(); in createInvocationForMigration()
195 CInvok->getPreprocessorOpts().addMacroDef(define); in createInvocationForMigration()
529 Remapper.applyMappings(CInvok->getPreprocessorOpts()); in applyTransform()
/external/clang/lib/Frontend/Rewrite/
DFrontendActions.cpp142 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginInvocation()
/external/clang/tools/libclang/
DIndexing.cpp419 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in CreateASTConsumer()
556 CInvok->getPreprocessorOpts().addRemappedFile(UF.Filename, MB.get()); in clang_indexSourceFile_Impl()
606 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in clang_indexSourceFile_Impl()
/external/clang/lib/CodeGen/
DObjectFilePCHContainerOperations.cpp136 PreprocessorOpts(CI.getPreprocessorOpts()), in PCHContainerGenerator()
DCodeGenAction.cpp723 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), CI.getTargetOpts(), in CreateASTConsumer()
DCodeGenModule.h598 const PreprocessorOptions &getPreprocessorOpts() in getPreprocessorOpts() function
DCGDebugInfo.cpp1721 const auto &PPOpts = CGM.getPreprocessorOpts(); in getOrCreateModuleRef()
/external/clang/lib/Tooling/
DTooling.cpp259 Invocation->getPreprocessorOpts().addRemappedFile(It.getKey(), in run()
/external/clang/include/clang/Lex/
DPreprocessor.h678 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; } in getPreprocessorOpts() function
/external/clang/lib/Serialization/
DASTWriter.cpp1407 const PreprocessorOptions &PPOpts = PP.getPreprocessorOpts(); in WriteControlBlock()
DASTReader.cpp606 const PreprocessorOptions &ExistingPPOpts = PP.getPreprocessorOpts(); in ReadPreprocessorOptions()