Searched defs:PPOpts (Results 1 - 13 of 13) sorted by relevance

/external/clang/lib/Rewrite/Frontend/
H A DFrontendActions.cpp141 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); local
142 PPOpts.RemappedFiles.insert(PPOpts.RemappedFiles.end(),
144 PPOpts.RemappedFilesKeepOriginalName = false;
/external/clang/lib/Frontend/
H A DFrontendAction.cpp259 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); local
260 StringRef PCHInclude = PPOpts.ImplicitPCHInclude;
273 PPOpts.ImplicitPCHInclude = Dir->path();
H A DCompilerInstance.cpp290 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); local
294 if (!PPOpts.TokenCache.empty())
295 PTHMgr = PTHManager::Create(PPOpts.TokenCache, getDiagnostics());
316 if (PPOpts.DetailedRecord)
321 PP->getFileManager(), PPOpts);
324 InitializePreprocessor(*PP, PPOpts, getFrontendOpts());
867 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); local
872 PPOpts.resetNonModularOptions();
877 PPOpts.Macros.erase(
878 std::remove_if(PPOpts
1224 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); local
[all...]
H A DASTUnit.cpp250 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); local
251 for (const auto &RB : PPOpts.RemappedFileBuffers)
701 PreprocessorOptions *PPOpts = new PreprocessorOptions(); local
704 PPOpts->addRemappedFile(RemappedFiles[I].first, RemappedFiles[I].second);
712 new Preprocessor(PPOpts, AST->getDiagnostics(), AST->ASTFileLangOpts,
1991 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); local
1992 PPOpts.RemappedFilesKeepOriginalName = RemappedFilesKeepOriginalName;
1993 PPOpts.AllowPCHWithCompilerErrors = AllowPCHWithCompilerErrors;
2053 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); local
2054 for (const auto &RB : PPOpts
[all...]
/external/clang/tools/arcmt-test/
H A Darcmt-test.cpp139 PreprocessorOptions PPOpts; local
140 remapper.applyMappings(PPOpts);
142 for (const auto &RB : PPOpts.RemappedFileBuffers)
/external/clang/unittests/Lex/
H A DPPCallbacksTest.cpp173 IntrusiveRefCntPtr<PreprocessorOptions> PPOpts = new PreprocessorOptions(); local
174 Preprocessor PP(PPOpts, Diags, LangOpts, SourceMgr, HeaderInfo, ModLoader,
/external/clang/lib/ARCMigrate/
H A DARCMT.cpp172 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); local
173 if (!PPOpts.ImplicitPCHInclude.empty()) {
182 ASTReader::getOriginalSourceFile(PPOpts.ImplicitPCHInclude,
185 PPOpts.Includes.insert(PPOpts.Includes.begin(), OriginalFile);
186 PPOpts.ImplicitPCHInclude.clear();
414 PreprocessorOptions PPOpts;
415 remapper.applyMappings(PPOpts);
416 remap = PPOpts.RemappedFiles;
/external/clang/lib/Lex/
H A DPreprocessor.cpp57 Preprocessor::Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts, argument
63 : PPOpts(PPOpts), Diags(&diags), LangOpts(opts), Target(nullptr),
/external/clang/tools/libclang/
H A DIndexing.cpp419 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); variable
421 if (!PPOpts.ImplicitPCHInclude.empty()) {
423 CI.getFileManager().getFile(PPOpts.ImplicitPCHInclude));
629 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts(); local
630 PPOpts.AllowPCHWithCompilerErrors = true;
641 PPOpts.DetailedRecord = true;
645 PPOpts.DetailedRecord = false;
/external/clang/include/clang/Lex/
H A DPreprocessor.h89 IntrusiveRefCntPtr<PreprocessorOptions> PPOpts; member in class:clang::Preprocessor
456 Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts,
474 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; }
/external/clang/include/clang/Serialization/
H A DASTReader.h167 virtual bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, argument
221 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts,
249 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain,
1456 const PreprocessorOptions &PPOpts);
/external/clang/lib/Serialization/
H A DASTReader.cpp112 const PreprocessorOptions &PPOpts, bool Complain,
114 return First->ReadPreprocessorOptions(PPOpts, Complain,
116 Second->ReadPreprocessorOptions(PPOpts, Complain, SuggestedPredefines);
416 collectMacroDefinitions(const PreprocessorOptions &PPOpts, argument
419 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) {
420 StringRef Macro = PPOpts.Macros[I].first;
421 bool IsUndef = PPOpts.Macros[I].second;
455 static bool checkPreprocessorOptions(const PreprocessorOptions &PPOpts, argument
463 collectMacroDefinitions(PPOpts, ASTFileMacros);
519 if (PPOpts
111 ReadPreprocessorOptions( const PreprocessorOptions &PPOpts, bool Complain, std::string &SuggestedPredefines) argument
567 ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain, std::string &SuggestedPredefines) argument
4183 isAcceptableASTFile(StringRef Filename, FileManager &FileMgr, const LangOptions &LangOpts, const TargetOptions &TargetOpts, const PreprocessorOptions &PPOpts) argument
4666 PreprocessorOptions PPOpts; local
[all...]
H A DASTWriter.cpp1209 const PreprocessorOptions &PPOpts = PP.getPreprocessorOpts(); local
1212 Record.push_back(PPOpts.Macros.size());
1213 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) {
1214 AddString(PPOpts.Macros[I].first, Record);
1215 Record.push_back(PPOpts.Macros[I].second);
1219 Record.push_back(PPOpts.Includes.size());
1220 for (unsigned I = 0, N = PPOpts.Includes.size(); I != N; ++I)
1221 AddString(PPOpts.Includes[I], Record);
1224 Record.push_back(PPOpts.MacroIncludes.size());
1225 for (unsigned I = 0, N = PPOpts
[all...]

Completed in 5019 milliseconds