Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Frontend/
HDFrontendAction.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 …]
HDChainedIncludesSource.cpp117 std::vector<std::string> &includes = CI.getPreprocessorOpts().ChainedIncludes; in createChainedIncludesSource()
131 CInvok->getPreprocessorOpts().ChainedIncludes.clear(); in createChainedIncludesSource()
132 CInvok->getPreprocessorOpts().ImplicitPCHInclude.clear(); in createChainedIncludesSource()
133 CInvok->getPreprocessorOpts().ImplicitPTHInclude.clear(); in createChainedIncludesSource()
134 CInvok->getPreprocessorOpts().DisablePCHValidation = true; in createChainedIncludesSource()
135 CInvok->getPreprocessorOpts().Includes.clear(); in createChainedIncludesSource()
136 CInvok->getPreprocessorOpts().MacroIncludes.clear(); in createChainedIncludesSource()
137 CInvok->getPreprocessorOpts().Macros.clear(); in createChainedIncludesSource()
HDCompilerInstance.cpp291 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createPreprocessor()
304 PP = new Preprocessor(&getPreprocessorOpts(), getDiagnostics(), getLangOpts(), in createPreprocessor()
398 bool Preamble = getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in createPCHExternalASTSource()
878 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in compileModuleImpl()
903 = ImportingInstance.getInvocation().getPreprocessorOpts(); in compileModuleImpl()
1241 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createModuleManager()
1482 if (getPreprocessorOpts().FailedModules && in loadModule()
1483 getPreprocessorOpts().FailedModules->hasAlreadyFailed(ModuleName)) { in loadModule()
1496 if (getPreprocessorOpts().FailedModules) in loadModule()
1497 getPreprocessorOpts().FailedModules->addFailed(ModuleName); in loadModule()
HDASTUnit.cpp249 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in ~ASTUnit()
1109 PreprocessorOptions &PreprocessorOpts = Clang->getPreprocessorOpts(); in Parse()
1191 PreprocessorOptions &PreprocessorOpts = Invocation.getPreprocessorOpts(); in ComputePreamble()
1350 = PreambleInvocation->getPreprocessorOpts(); in getMainBufferWithPrecompiledPreamble()
1763 CI->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocationAction()
1871 Invocation->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocation()
1961 CI->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in LoadFromCommandLine()
1964 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); in LoadFromCommandLine()
2028 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in Reparse()
2032 Invocation->getPreprocessorOpts().clearRemappedFiles(); in Reparse()
[all …]
HDFrontendActions.cpp98 CI.getPreprocessorOpts(), CI.getTargetOpts(), CI.getLangOpts(), in CreateASTConsumer()
144 CI.getPreprocessorOpts(), CI.getTargetOpts(), CI.getLangOpts(), in CreateASTConsumer()
415 bool Preamble = CI.getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in ExecuteAction()
HDCompilerInvocation.cpp60 PreprocessorOpts(new PreprocessorOptions(X.getPreprocessorOpts())) {} in CompilerInvocationBase()
1904 ParsePreprocessorArgs(Res.getPreprocessorOpts(), Args, FileMgr, Diags); in CreateFromArgs()
1994 const PreprocessorOptions &ppOpts = getPreprocessorOpts(); in getModuleHash()
1999 I = getPreprocessorOpts().Macros.begin(), in getModuleHash()
2000 IEnd = getPreprocessorOpts().Macros.end(); in getModuleHash()
/NextBSD/contrib/llvm/tools/clang/include/clang/Frontend/
HDCompilerInvocation.h91 PreprocessorOptions &getPreprocessorOpts() { return *PreprocessorOpts; } in getPreprocessorOpts() function
92 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
HDCompilerInstance.h305 PreprocessorOptions &getPreprocessorOpts() { in getPreprocessorOpts() function
306 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
308 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
309 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
/NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/
HDARCMT.cpp173 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in createInvocationForMigration()
189 CInvok->getPreprocessorOpts().ImplicitPTHInclude.clear(); in createInvocationForMigration()
192 CInvok->getPreprocessorOpts().addMacroDef(define); in createInvocationForMigration()
525 Remapper.applyMappings(CInvok->getPreprocessorOpts()); in applyTransform()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
HDFrontendActions.cpp142 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginInvocation()
/NextBSD/contrib/llvm/tools/clang/lib/Tooling/
HDTooling.cpp231 Invocation->getPreprocessorOpts().addRemappedFile(It.getKey(), in run()
/NextBSD/contrib/llvm/tools/lldb/source/Expression/
HDClangExpressionParser.cpp345 m_compiler->getPreprocessorOpts(), in ClangExpressionParser()
HDClangModulesDeclVendor.cpp695 …invocation->getPreprocessorOpts().addRemappedFile(ModuleImportBufferName, source_buffer.release()); in Create()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCodeGenAction.cpp674 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), CI.getTargetOpts(), in CreateASTConsumer()
HDCodeGenModule.h612 const PreprocessorOptions &getPreprocessorOpts() in getPreprocessorOpts() function
HDCGDebugInfo.cpp1626 const auto &PPOpts = CGM.getPreprocessorOpts(); in getOrCreateModuleRef()
/NextBSD/contrib/llvm/tools/clang/include/clang/Lex/
HDPreprocessor.h674 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; } in getPreprocessorOpts() function
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTWriter.cpp1377 const PreprocessorOptions &PPOpts = PP.getPreprocessorOpts(); in WriteControlBlock()
HDASTReader.cpp595 const PreprocessorOptions &ExistingPPOpts = PP.getPreprocessorOpts(); in ReadPreprocessorOptions()