Searched refs:PPOpts (Results 1 - 16 of 16) sorted by relevance

/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DFrontendActions.cpp142 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); local
143 PPOpts.RemappedFiles.insert(PPOpts.RemappedFiles.end(),
145 PPOpts.RemappedFilesKeepOriginalName = false;
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/ARCMigrate/
H A DFileRemapper.h57 void applyMappings(PreprocessorOptions &PPOpts) const;
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DARCMT.cpp176 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); local
177 if (!PPOpts.ImplicitPCHInclude.empty()) {
186 PPOpts.ImplicitPCHInclude, FileMgr, PCHContainerRdr, *Diags);
188 PPOpts.Includes.insert(PPOpts.Includes.begin(), OriginalFile);
189 PPOpts.ImplicitPCHInclude.clear();
419 PreprocessorOptions PPOpts;
420 remapper.applyMappings(PPOpts);
421 remap = PPOpts.RemappedFiles;
H A DFileRemapper.cpp192 void FileRemapper::applyMappings(PreprocessorOptions &PPOpts) const {
196 PPOpts.addRemappedFile(I->first->getName(), FE->getName());
199 PPOpts.addRemappedFile(I->first->getName(), mem);
203 PPOpts.RetainRemappedFileBuffers = true;
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Frontend/
H A DCompilerInstance.cpp297 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); local
301 if (!PPOpts.TokenCache.empty())
302 PTHMgr = PTHManager::Create(PPOpts.TokenCache, getDiagnostics());
323 if (PPOpts.DetailedRecord)
328 PP->getFileManager(), PPOpts);
331 InitializePreprocessor(*PP, PPOpts, getPCHContainerReader(),
898 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); local
903 PPOpts.resetNonModularOptions();
908 PPOpts.Macros.erase(
909 std::remove_if(PPOpts
1265 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); local
[all...]
H A DFrontendActions.cpp552 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts,
556 DUMP_BOOLEAN(PPOpts.UsePredefines,
558 DUMP_BOOLEAN(PPOpts.DetailedRecord,
561 if (!PPOpts.Macros.empty()) {
566 I = PPOpts.Macros.begin(), IEnd = PPOpts.Macros.end();
H A DFrontendAction.cpp264 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); local
265 StringRef PCHInclude = PPOpts.ImplicitPCHInclude;
279 PPOpts.ImplicitPCHInclude = Dir->path();
H A DASTUnit.cpp250 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); local
251 for (const auto &RB : PPOpts.RemappedFileBuffers)
687 PreprocessorOptions *PPOpts = new PreprocessorOptions(); local
690 PPOpts->addRemappedFile(RemappedFile.first, RemappedFile.second);
698 new Preprocessor(PPOpts, AST->getDiagnostics(), AST->ASTFileLangOpts,
1964 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); local
1965 PPOpts.RemappedFilesKeepOriginalName = RemappedFilesKeepOriginalName;
1966 PPOpts.AllowPCHWithCompilerErrors = AllowPCHWithCompilerErrors;
2032 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); local
2033 for (const auto &RB : PPOpts
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Frontend/
H A DUtils.h65 void InitializePreprocessor(Preprocessor &PP, const PreprocessorOptions &PPOpts,
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp123 const PreprocessorOptions &PPOpts, bool Complain,
125 return First->ReadPreprocessorOptions(PPOpts, Complain,
127 Second->ReadPreprocessorOptions(PPOpts, Complain, SuggestedPredefines);
454 collectMacroDefinitions(const PreprocessorOptions &PPOpts, argument
457 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) {
458 StringRef Macro = PPOpts.Macros[I].first;
459 bool IsUndef = PPOpts.Macros[I].second;
493 static bool checkPreprocessorOptions(const PreprocessorOptions &PPOpts, argument
501 collectMacroDefinitions(PPOpts, ASTFileMacros);
557 if (PPOpts
122 ReadPreprocessorOptions( const PreprocessorOptions &PPOpts, bool Complain, std::string &SuggestedPredefines) argument
603 ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain, std::string &SuggestedPredefines) argument
4397 isAcceptableASTFile( StringRef Filename, FileManager &FileMgr, const PCHContainerReader &PCHContainerRdr, const LangOptions &LangOpts, const TargetOptions &TargetOpts, const PreprocessorOptions &PPOpts, std::string ExistingModuleCachePath) argument
4800 PreprocessorOptions PPOpts; local
[all...]
H A DASTWriter.cpp1423 const PreprocessorOptions &PPOpts = PP.getPreprocessorOpts(); local
1426 Record.push_back(PPOpts.Macros.size());
1427 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) {
1428 AddString(PPOpts.Macros[I].first, Record);
1429 Record.push_back(PPOpts.Macros[I].second);
1433 Record.push_back(PPOpts.Includes.size());
1434 for (unsigned I = 0, N = PPOpts.Includes.size(); I != N; ++I)
1435 AddString(PPOpts.Includes[I], Record);
1438 Record.push_back(PPOpts.MacroIncludes.size());
1439 for (unsigned I = 0, N = PPOpts
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Lex/
H A DPreprocessor.cpp59 Preprocessor::Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts, argument
65 : PPOpts(PPOpts), Diags(&diags), LangOpts(opts), Target(nullptr),
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessor.h97 IntrusiveRefCntPtr<PreprocessorOptions> PPOpts; member in class:clang::Preprocessor
646 Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts,
678 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; }
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Serialization/
H A DASTReader.h173 virtual bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, argument
245 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts,
276 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain,
1506 const PreprocessorOptions &PPOpts,
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenAction.cpp68 const PreprocessorOptions &PPOpts, const CodeGenOptions &CodeGenOpts,
77 Gen(CreateLLVMCodeGen(Diags, InFile, HeaderSearchOpts, PPOpts,
65 BackendConsumer( BackendAction Action, DiagnosticsEngine &Diags, const HeaderSearchOptions &HeaderSearchOpts, const PreprocessorOptions &PPOpts, const CodeGenOptions &CodeGenOpts, const TargetOptions &TargetOpts, const LangOptions &LangOpts, bool TimePasses, const std::string &InFile, const SmallVectorImpl<std::pair<unsigned, llvm::Module *>> &LinkModules, raw_pwrite_stream *OS, LLVMContext &C, CoverageSourceInfo *CoverageInfo = nullptr) argument
H A DCGDebugInfo.cpp1721 const auto &PPOpts = CGM.getPreprocessorOpts(); local
1724 for (auto &M : PPOpts.Macros) {

Completed in 239 milliseconds