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

/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/ARCMigrate/
H A DFileRemapper.h57 void applyMappings(PreprocessorOptions &PPOpts) const;
59 void transferMappingsAndClear(PreprocessorOptions &PPOpts);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DFileRemapper.cpp199 void FileRemapper::applyMappings(PreprocessorOptions &PPOpts) const {
203 PPOpts.addRemappedFile(I->first->getName(), FE->getName());
206 PPOpts.addRemappedFile(I->first->getName(), mem);
210 PPOpts.RetainRemappedFileBuffers = true;
213 void FileRemapper::transferMappingsAndClear(PreprocessorOptions &PPOpts) { argument
217 PPOpts.addRemappedFile(I->first->getName(), FE->getName());
220 PPOpts.addRemappedFile(I->first->getName(), mem);
225 PPOpts.RetainRemappedFileBuffers = false;
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();
412 PreprocessorOptions PPOpts;
413 remapper.applyMappings(PPOpts);
414 remap = PPOpts.RemappedFiles;
442 PreprocessorOptions PPOpts; local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
H A DFrontendActions.cpp141 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); local
142 PPOpts.RemappedFiles.insert(PPOpts.RemappedFiles.end(),
144 PPOpts.RemappedFilesKeepOriginalName = false;
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Frontend/
H A DUtils.h61 const PreprocessorOptions &PPOpts,
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Frontend/
H A DCompilerInstance.cpp212 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); local
216 if (!PPOpts.TokenCache.empty())
217 PTHMgr = PTHManager::Create(PPOpts.TokenCache, getDiagnostics());
238 if (PPOpts.DetailedRecord)
241 InitializePreprocessor(*PP, PPOpts, getHeaderSearchOpts(), getFrontendOpts());
817 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); local
822 PPOpts.resetNonModularOptions();
827 PPOpts.Macros.erase(std::remove_if(PPOpts.Macros.begin(), PPOpts
1156 const PreprocessorOptions &PPOpts = getPreprocessorOpts(); local
[all...]
H A DFrontendActions.cpp388 virtual bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, argument
392 DUMP_BOOLEAN(PPOpts.UsePredefines,
394 DUMP_BOOLEAN(PPOpts.DetailedRecord,
397 if (!PPOpts.Macros.empty()) {
402 I = PPOpts.Macros.begin(), IEnd = PPOpts.Macros.end();
H A DFrontendAction.cpp240 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts(); local
241 StringRef PCHInclude = PPOpts.ImplicitPCHInclude;
254 PPOpts.ImplicitPCHInclude = Dir->path();
H A DASTUnit.cpp256 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); local
258 FB = PPOpts.remapped_file_buffer_begin(),
259 FBEnd = PPOpts.remapped_file_buffer_end();
2032 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); local
2033 PPOpts.RemappedFilesKeepOriginalName = RemappedFilesKeepOriginalName;
2034 PPOpts.AllowPCHWithCompilerErrors = AllowPCHWithCompilerErrors;
2090 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); local
2092 R = PPOpts.remapped_file_buffer_begin(),
2093 REnd = PPOpts.remapped_file_buffer_end();
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Lex/
H A DPreprocessor.cpp57 Preprocessor::Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts, argument
63 : PPOpts(PPOpts), Diags(&diags), LangOpts(opts), Target(target),
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReader.cpp219 static void collectMacroDefinitions(const PreprocessorOptions &PPOpts, argument
222 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) {
223 StringRef Macro = PPOpts.Macros[I].first;
224 bool IsUndef = PPOpts.Macros[I].second;
258 static bool checkPreprocessorOptions(const PreprocessorOptions &PPOpts, argument
266 collectMacroDefinitions(PPOpts, ASTFileMacros);
322 if (PPOpts.UsePredefines != ExistingPPOpts.UsePredefines) {
331 PPOpts.DetailedRecord != ExistingPPOpts.DetailedRecord) {
333 Diags->Report(diag::err_pch_pp_detailed_record) << PPOpts.DetailedRecord;
344 if (std::find(PPOpts
370 ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain, std::string &SuggestedPredefines) argument
3459 ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain, std::string &SuggestedPredefines) argument
3612 isAcceptableASTFile(StringRef Filename, FileManager &FileMgr, const LangOptions &LangOpts, const TargetOptions &TargetOpts, const PreprocessorOptions &PPOpts) argument
4084 PreprocessorOptions PPOpts; local
[all...]
H A DASTWriter.cpp1168 const PreprocessorOptions &PPOpts = PP.getPreprocessorOpts(); local
1171 Record.push_back(PPOpts.Macros.size());
1172 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) {
1173 AddString(PPOpts.Macros[I].first, Record);
1174 Record.push_back(PPOpts.Macros[I].second);
1178 Record.push_back(PPOpts.Includes.size());
1179 for (unsigned I = 0, N = PPOpts.Includes.size(); I != N; ++I)
1180 AddString(PPOpts.Includes[I], Record);
1183 Record.push_back(PPOpts.MacroIncludes.size());
1184 for (unsigned I = 0, N = PPOpts
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessor.h87 IntrusiveRefCntPtr<PreprocessorOptions> PPOpts; member in class:clang::Preprocessor
413 Preprocessor(IntrusiveRefCntPtr<PreprocessorOptions> PPOpts,
433 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; }
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Serialization/
H A DASTReader.h163 virtual bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, argument
198 virtual bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts,
1317 const PreprocessorOptions &PPOpts);

Completed in 157 milliseconds