Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DChainedIncludesSource.cpp116 std::vector<std::string> &includes = CI.getPreprocessorOpts().ChainedIncludes; in createChainedIncludesSource()
130 CInvok->getPreprocessorOpts().ChainedIncludes.clear(); in createChainedIncludesSource()
131 CInvok->getPreprocessorOpts().ImplicitPCHInclude.clear(); in createChainedIncludesSource()
132 CInvok->getPreprocessorOpts().DisablePCHValidation = true; in createChainedIncludesSource()
133 CInvok->getPreprocessorOpts().Includes.clear(); in createChainedIncludesSource()
134 CInvok->getPreprocessorOpts().MacroIncludes.clear(); in createChainedIncludesSource()
135 CInvok->getPreprocessorOpts().Macros.clear(); in createChainedIncludesSource()
H A DFrontendAction.cpp574 CI.getPreprocessorOpts() = AST->getPreprocessorOpts(); in BeginSourceFile()
708 if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
710 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginSourceFile()
832 if (!CI.getPreprocessorOpts().ChainedIncludes.empty()) { in BeginSourceFile()
841 !CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
847 if (CI.getPreprocessorOpts().DumpDeserializedPCHDecls) { in BeginSourceFile()
852 if (!CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn.empty()) { in BeginSourceFile()
855 CI.getPreprocessorOpts().DeserializedPCHDeclsToErrorOn, in BeginSourceFile()
859 if (!CI.getPreprocessorOpts().ImplicitPCHInclude.empty()) { in BeginSourceFile()
861 CI.getPreprocessorOpts().ImplicitPCHInclude, in BeginSourceFile()
[all …]
H A DCompilerInstance.cpp165 const PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in collectIncludePCH()
373 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createPreprocessor()
490 bool Preamble = getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in createPCHExternalASTSource()
1038 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts();
1068 = ImportingInstance.getInvocation().getPreprocessorOpts();
1476 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); in createModuleManager()
1782 if (getPreprocessorOpts().FailedModules && in loadModule()
1783 getPreprocessorOpts().FailedModules->hasAlreadyFailed(ModuleName)) { in loadModule()
1796 if (getPreprocessorOpts().FailedModules) in loadModule()
1797 getPreprocessorOpts().FailedModules->addFailed(ModuleName); in loadModule()
H A DASTUnit.cpp160 const auto &PreprocessorOpts = Invocation.getPreprocessorOpts(); in getBufferForFileHandlingRemapping()
262 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in ~ASTUnit()
1528 CI->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocationAction()
1641 Invocation->getPreprocessorOpts().RetainRemappedFileBuffers = true; in LoadFromCompilerInvocation()
1732 CI->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in LoadFromCommandLine()
1735 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); in LoadFromCommandLine()
1813 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in Reparse()
1817 Invocation->getPreprocessorOpts().clearRemappedFiles(); in Reparse()
1819 Invocation->getPreprocessorOpts().addRemappedFile(RemappedFile.first, in Reparse()
2128 PreprocessorOptions &PreprocessorOpts = CCInvocation->getPreprocessorOpts(); in CodeComplete()
H A DPrecompiledPreamble.cpp244 PreambleInvocation->getPreprocessorOpts(); in Build()
422 PreambleInvocation->getPreprocessorOpts(); in CanReuse()
688 auto &PreprocessorOpts = CI.getPreprocessorOpts(); in configurePreamble()
H A DFrontendActions.cpp115 CI.getPreprocessorOpts().AllowPCHWithCompilerErrors, in CreateASTConsumer()
152 if (getCompilerInstance().getPreprocessorOpts().AllowPCHWithCompilerErrors) in shouldEraseOutputFiles()
330 bool Preamble = CI.getPreprocessorOpts().PrecompiledPreambleBytes.first != 0; in ExecuteAction()
H A DCompilerInvocation.cpp114 PreprocessorOpts(new PreprocessorOptions(X.getPreprocessorOpts())) {} in CompilerInvocationBase()
3296 Res.getPreprocessorOpts(), Diags); in CreateFromArgs()
3330 ParsePreprocessorArgs(Res.getPreprocessorOpts(), Args, Diags, in CreateFromArgs()
3381 const PreprocessorOptions &ppOpts = getPreprocessorOpts(); in getModuleHash()
3385 for (const auto &I : getPreprocessorOpts().Macros) { in getModuleHash()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DCompilerInvocation.h109 PreprocessorOptions &getPreprocessorOpts() { return *PreprocessorOpts; } in getPreprocessorOpts() function
111 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
H A DCompilerInstance.h317 PreprocessorOptions &getPreprocessorOpts() { in getPreprocessorOpts() function
318 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
320 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
321 return Invocation->getPreprocessorOpts(); in getPreprocessorOpts()
H A DASTUnit.h466 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DARCMT.cpp178 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); in createInvocationForMigration()
195 CInvok->getPreprocessorOpts().addMacroDef(define); in createInvocationForMigration()
529 Remapper.applyMappings(CInvok->getPreprocessorOpts()); in applyTransform()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp149 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); in BeginInvocation()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DObjectFilePCHContainerOperations.cpp145 PreprocessorOpts(CI.getPreprocessorOpts()), in PCHContainerGenerator()
H A DCodeGenAction.cpp897 CI.getPreprocessorOpts(), CI.getCodeGenOpts(), CI.getTargetOpts(), in CreateASTConsumer()
H A DCodeGenModule.h656 const PreprocessorOptions &getPreprocessorOpts() in getPreprocessorOpts() function
H A DCGDebugInfo.cpp2267 const auto &PPOpts = CGM.getPreprocessorOpts(); in getOrCreateModuleRef()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp629 invocation->getPreprocessorOpts().addRemappedFile(ModuleImportBufferName, in Create()
H A DClangExpressionParser.cpp540 m_compiler->getHeaderSearchOpts(), m_compiler->getPreprocessorOpts(), in ClangExpressionParser()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DTooling.cpp327 Invocation->getPreprocessorOpts().addRemappedFile(It.getKey(), in run()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessor.h810 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; } in getPreprocessorOpts() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp748 const PreprocessorOptions &ExistingPPOpts = PP.getPreprocessorOpts(); in ReadPreprocessorOptions()
762 PP.getPreprocessorOpts(), in ReadPreprocessorOptions()
2636 if (!PP.getPreprocessorOpts().DisablePCHValidation && in ReadControlBlock()
3608 if (!PP.getPreprocessorOpts().DisablePCHValidation && !ModMap) { in ReadModuleMapFileBlock()
5039 if (!PP.getPreprocessorOpts().DisablePCHValidation && in ReadSubmoduleBlock()
H A DASTWriter.cpp1675 const PreprocessorOptions &PPOpts = PP.getPreprocessorOpts(); in WriteControlBlock()
3255 if (!PP->getPreprocessorOpts().WriteCommentListToPCH) in WriteComments()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DLexer.cpp2929 if (!PP || !PP->getPreprocessorOpts().LexEditorPlaceholders || LexingRawMode) in lexEditorPlaceholder()