Home
last modified time | relevance | path

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

/external/clang/lib/Frontend/
DFrontendAction.cpp238 if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
240 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginSourceFile()
253 CI.getPreprocessorOpts())) { in BeginSourceFile()
291 if (!CI.getPreprocessorOpts().ChainedIncludes.empty()) { in BeginSourceFile()
301 } else if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
306 if (CI.getPreprocessorOpts().DumpDeserializedPCHDecls) in BeginSourceFile()
308 if (!CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn.empty()) in BeginSourceFile()
310 CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn, in BeginSourceFile()
313 CI.getPreprocessorOpts().ImplicitPCHInclude, in BeginSourceFile()
314 CI.getPreprocessorOpts().DisablePCHValidation, in BeginSourceFile()
[all …]
DChainedIncludesSource.cpp67 std::vector<std::string> &includes = CI.getPreprocessorOpts().ChainedIncludes; in create()
81 CInvok->getPreprocessorOpts().ChainedIncludes.clear(); in create()
82 CInvok->getPreprocessorOpts().ImplicitPCHInclude.clear(); in create()
83 CInvok->getPreprocessorOpts().ImplicitPTHInclude.clear(); in create()
84 CInvok->getPreprocessorOpts().DisablePCHValidation = true; in create()
85 CInvok->getPreprocessorOpts().Includes.clear(); in create()
86 CInvok->getPreprocessorOpts().MacroIncludes.clear(); in create()
87 CInvok->getPreprocessorOpts().Macros.clear(); in create()
DCompilerInstance.cpp212 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createPreprocessor()
225 PP = new Preprocessor(&getPreprocessorOpts(), in createPreprocessor()
292 bool Preamble = getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in createPCHExternalASTSource()
811 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in compileModule()
833 = ImportingInstance.getInvocation().getPreprocessorOpts(); in compileModule()
1155 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in loadModule()
1226 if (getPreprocessorOpts().FailedModules && in loadModule()
1227 getPreprocessorOpts().FailedModules->hasAlreadyFailed(ModuleName)) { in loadModule()
1252 if (getPreprocessorOpts().FailedModules) in loadModule()
1253 getPreprocessorOpts().FailedModules->addFailed(ModuleName); in loadModule()
DASTUnit.cpp255 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in ~ASTUnit()
1177 PreprocessorOptions &PreprocessorOpts = Clang->getPreprocessorOpts(); in Parse()
1263 PreprocessorOptions &PreprocessorOpts = Invocation.getPreprocessorOpts(); in ComputePreamble()
1378 = PreambleInvocation->getPreprocessorOpts(); in getMainBufferWithPrecompiledPreamble()
1809 CI->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocationAction()
1912 Invocation->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocation()
2013 CI->getPreprocessorOpts().addRemappedFile(RemappedFiles[I].first, memBuf); in LoadFromCommandLine()
2016 CI->getPreprocessorOpts().addRemappedFile(RemappedFiles[I].first, fname); in LoadFromCommandLine()
2019 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); in LoadFromCommandLine()
2077 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in Reparse()
[all …]
DCompilerInvocation.cpp55 PreprocessorOpts(new PreprocessorOptions(X.getPreprocessorOpts())) {} in CompilerInvocationBase()
1601 ParsePreprocessorArgs(Res.getPreprocessorOpts(), *Args, FileMgr, Diags); in CreateFromArgs()
1691 const PreprocessorOptions &ppOpts = getPreprocessorOpts(); in getModuleHash()
1697 I = getPreprocessorOpts().Macros.begin(), in getModuleHash()
1698 IEnd = getPreprocessorOpts().Macros.end(); in getModuleHash()
/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/chromium_org/third_party/mesa/src/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/
DCompilerInstance.h259 PreprocessorOptions &getPreprocessorOpts() { in getPreprocessorOpts() function
260 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
262 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
263 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
DCompilerInvocation.h89 PreprocessorOptions &getPreprocessorOpts() { return *PreprocessorOpts; } in getPreprocessorOpts() function
90 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
/external/clang/unittests/Frontend/
DFrontendActionTest.cpp55 invocation->getPreprocessorOpts().addRemappedFile( in TEST()
/external/clang/lib/ARCMigrate/
DARCMT.cpp172 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in createInvocationForMigration()
189 CInvok->getPreprocessorOpts().ImplicitPTHInclude.clear(); in createInvocationForMigration()
192 CInvok->getPreprocessorOpts().addMacroDef(define); in createInvocationForMigration()
576 Remapper.applyMappings(CInvok->getPreprocessorOpts()); in applyTransform()
/external/clang/lib/Rewrite/Frontend/
DFrontendActions.cpp141 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginInvocation()
/external/clang/tools/libclang/
DIndexing.cpp426 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in CreateASTConsumer()
598 CInvok->getPreprocessorOpts().addRemappedFile(unsaved_files[I].Filename, Buffer); in clang_indexSourceFile_Impl()
640 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in clang_indexSourceFile_Impl()
/external/clang/include/clang/Lex/
DPreprocessor.h430 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; } in getPreprocessorOpts() function
/external/clang/lib/Serialization/
DASTWriter.cpp1167 const PreprocessorOptions &PPOpts = PP.getPreprocessorOpts(); in WriteControlBlock()
DASTReader.cpp373 const PreprocessorOptions &ExistingPPOpts = PP.getPreprocessorOpts(); in ReadPreprocessorOptions()