HomeSort by: relevance | last modified time | path
    Searched refs:PPOpts (Results 1 - 22 of 22) sorted by relevancy

  /src/external/apache2/llvm/dist/clang/include/clang/ARCMigrate/
FileRemapper.h 58 void applyMappings(PreprocessorOptions &PPOpts) const;
  /src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
FileRemapper.cpp 209 void FileRemapper::applyMappings(PreprocessorOptions &PPOpts) const {
213 PPOpts.addRemappedFile(I->first->getName(), FE->getName());
216 PPOpts.addRemappedFile(I->first->getName(), mem);
220 PPOpts.RetainRemappedFileBuffers = true;
ARCMT.cpp 178 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts();
179 if (!PPOpts.ImplicitPCHInclude.empty()) {
188 PPOpts.ImplicitPCHInclude, FileMgr, PCHContainerRdr, *Diags);
190 PPOpts.Includes.insert(PPOpts.Includes.begin(), OriginalFile);
191 PPOpts.ImplicitPCHInclude.clear();
  /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
FrontendActions.cpp 153 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts();
154 PPOpts.RemappedFiles.insert(PPOpts.RemappedFiles.end(),
156 PPOpts.RemappedFilesKeepOriginalName = false;
  /src/external/apache2/llvm/dist/clang/lib/Lex/
Preprocessor.cpp 79 Preprocessor::Preprocessor(std::shared_ptr<PreprocessorOptions> PPOpts,
85 : PPOpts(std::move(PPOpts)), Diags(&diags), LangOpts(opts),
154 if (!this->PPOpts->PCHThroughHeader.empty() &&
155 !this->PPOpts->ImplicitPCHInclude.empty())
158 if (this->PPOpts->GeneratePreamble)
162 this->PPOpts->ExcludedConditionalDirectiveSkipMappings;
566 if (!PPOpts->PCHThroughHeader.empty()) {
571 SourceLocation(), PPOpts->PCHThroughHeader,
578 << PPOpts->PCHThroughHeader
    [all...]
PPDirectives.cpp 1970 if (PPOpts->SingleFileParseMode)
3014 bool RetainExcludedCB = PPOpts->RetainExcludedConditionalBlocks &&
3018 if (PPOpts->SingleFileParseMode && !MI) {
3069 bool RetainExcludedCB = PPOpts->RetainExcludedConditionalBlocks &&
3073 if (PPOpts->SingleFileParseMode && DER.IncludedUndefinedIds) {
3140 bool RetainExcludedCB = PPOpts->RetainExcludedConditionalBlocks &&
3143 if ((PPOpts->SingleFileParseMode && !CI.FoundNonSkip) || RetainExcludedCB) {
3185 bool RetainExcludedCB = PPOpts->RetainExcludedConditionalBlocks &&
3188 if ((PPOpts->SingleFileParseMode && !CI.FoundNonSkip) || RetainExcludedCB) {
PPLexerChange.cpp 512 << PPOpts->PCHThroughHeader << 0;
PPMacroExpansion.cpp 1546 remapMacroPath(FN, PPOpts->MacroPrefixMap);
  /src/external/apache2/llvm/dist/clang/lib/Frontend/
ASTUnit.cpp 264 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts();
265 for (const auto &RB : PPOpts.RemappedFileBuffers)
521 PreprocessorOptions &PPOpts;
530 HeaderSearchOptions &HSOpts, PreprocessorOptions &PPOpts,
534 : PP(PP), Context(Context), HSOpts(HSOpts), PPOpts(PPOpts),
557 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain,
559 this->PPOpts = PPOpts;
793 AST->PPOpts = std::make_shared<PreprocessorOptions>()
    [all...]
CompilerInstance.cpp 227 const PreprocessorOptions &PPOpts = CI.getPreprocessorOpts();
228 if (PPOpts.ImplicitPCHInclude.empty())
231 StringRef PCHInclude = PPOpts.ImplicitPCHInclude;
446 const PreprocessorOptions &PPOpts = getPreprocessorOpts();
463 if (PPOpts.DetailedRecord)
468 PP->getFileManager(), PPOpts);
471 InitializePreprocessor(*PP, PPOpts, getPCHContainerReader(),
1053 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts();
1058 PPOpts.resetNonModularOptions();
1063 PPOpts.Macros.erase
    [all...]
FrontendActions.cpp 619 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts,
623 DUMP_BOOLEAN(PPOpts.UsePredefines,
625 DUMP_BOOLEAN(PPOpts.DetailedRecord,
628 if (!PPOpts.Macros.empty()) {
633 I = PPOpts.Macros.begin(), IEnd = PPOpts.Macros.end();
FrontendAction.cpp 726 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts();
727 StringRef PCHInclude = PPOpts.ImplicitPCHInclude;
743 PPOpts.ImplicitPCHInclude = std::string(Dir->path());
InitPreprocessor.cpp 637 const PreprocessorOptions &PPOpts,
1089 if (PPOpts.SetUpStaticAnalyzer)
  /src/external/apache2/llvm/dist/clang/tools/libclang/
Indexing.cpp 350 PreprocessorOptions &PPOpts = CI.getPreprocessorOpts();
352 if (!PPOpts.ImplicitPCHInclude.empty()) {
353 auto File = CI.getFileManager().getFile(PPOpts.ImplicitPCHInclude);
590 PreprocessorOptions &PPOpts = CInvok->getPreprocessorOpts();
591 PPOpts.AllowPCHWithCompilerErrors = true;
604 PPOpts.DetailedRecord = true;
608 PPOpts.DetailedRecord = false;
  /src/external/apache2/llvm/dist/clang/include/clang/Frontend/
Utils.h 65 void InitializePreprocessor(Preprocessor &PP, const PreprocessorOptions &PPOpts,
ASTUnit.h 120 std::shared_ptr<PreprocessorOptions> PPOpts;
472 assert(PPOpts && "ASTUnit does not have preprocessor options");
473 return *PPOpts;
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CodeGenAction.cpp 135 const PreprocessorOptions &PPOpts,
147 Gen(CreateLLVMCodeGen(Diags, InFile, HeaderSearchOpts, PPOpts,
160 const PreprocessorOptions &PPOpts,
171 Gen(CreateLLVMCodeGen(Diags, "", HeaderSearchOpts, PPOpts,
CGDebugInfo.cpp 2605 const auto &PPOpts = CGM.getPreprocessorOpts();
2608 for (auto &M : PPOpts.Macros) {
  /src/external/apache2/llvm/dist/clang/include/clang/Serialization/
ASTReader.h 184 virtual bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts,
259 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts,
290 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain,
311 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, bool Complain,
1719 const PreprocessorOptions &PPOpts,
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTReader.cpp 208 const PreprocessorOptions &PPOpts, bool Complain,
210 return First->ReadPreprocessorOptions(PPOpts, Complain,
212 Second->ReadPreprocessorOptions(PPOpts, Complain, SuggestedPredefines);
589 collectMacroDefinitions(const PreprocessorOptions &PPOpts,
592 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) {
593 StringRef Macro = PPOpts.Macros[I].first;
594 bool IsUndef = PPOpts.Macros[I].second;
630 /// \p PPOpts in SuggestedPredefines.
631 static bool checkPreprocessorOptions(const PreprocessorOptions &PPOpts,
640 collectMacroDefinitions(PPOpts, ASTFileMacros)
    [all...]
ASTWriter.cpp 1335 const PreprocessorOptions &PPOpts = PP.getPreprocessorOpts();
1338 Record.push_back(PPOpts.Macros.size());
1339 for (unsigned I = 0, N = PPOpts.Macros.size(); I != N; ++I) {
1340 AddString(PPOpts.Macros[I].first, Record);
1341 Record.push_back(PPOpts.Macros[I].second);
1345 Record.push_back(PPOpts.Includes.size());
1346 for (unsigned I = 0, N = PPOpts.Includes.size(); I != N; ++I)
1347 AddString(PPOpts.Includes[I], Record);
1350 Record.push_back(PPOpts.MacroIncludes.size());
1351 for (unsigned I = 0, N = PPOpts.MacroIncludes.size(); I != N; ++I
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/Lex/
Preprocessor.h 134 std::shared_ptr<PreprocessorOptions> PPOpts;
886 Preprocessor(std::shared_ptr<PreprocessorOptions> PPOpts,
917 PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; }

Completed in 69 milliseconds