Home
last modified time | relevance | path

Searched refs:PreprocessorOptions (Results 1 – 25 of 48) sorted by relevance

12

/llvm-project/polly/lib/External/isl/interface/
H A Dset_lang_defaults_arg4.h11 setLangDefaultsArg4(clang::PreprocessorOptions &PO) : PO(PO) {} in setLangDefaultsArg4()
12 operator clang::PreprocessorOptions &() { return PO; }
15 clang::PreprocessorOptions &PO;
H A Dextract_interface.cc428 PreprocessorOptions &PO = Clang->getPreprocessorOpts(); in set_lang_defaults()
553 PreprocessorOptions &PO = Clang->getPreprocessorOpts(); in main()
/llvm-project/clang/include/clang/Frontend/
H A DCompilerInvocation.h51 class PreprocessorOptions; variable
89 std::shared_ptr<PreprocessorOptions> PPOpts;
135 const PreprocessorOptions &getPreprocessorOpts() const { return *PPOpts; } in getPreprocessorOpts()
253 PreprocessorOptions &getPreprocessorOpts() { return *PPOpts; } in getPreprocessorOpts()
276 std::shared_ptr<PreprocessorOptions> getPreprocessorOptsPtr() { in getPreprocessorOptsPtr()
390 PreprocessorOptions &getMutPreprocessorOpts();
H A DUtils.h44 class PreprocessorOptions; variable
50 void InitializePreprocessor(Preprocessor &PP, const PreprocessorOptions &PPOpts,
H A DASTUnit.h77 class PreprocessorOptions; variable
120 std::shared_ptr<PreprocessorOptions> PPOpts;
474 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts()
H A DPrecompiledPreamble.h182 PreprocessorOptions &PreprocessorOpts,
H A DCompilerInstance.h340 PreprocessorOptions &getPreprocessorOpts() { in getPreprocessorOpts()
343 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts()
/llvm-project/flang/include/flang/Frontend/
H A DPreprocessorOptions.h1 //===- PreprocessorOptions.h ------------------------------------*- C++ -*-===//
10 /// This file contains the declaration of the PreprocessorOptions class, which
38 struct PreprocessorOptions { struct
39 PreprocessorOptions() {} in PreprocessorOptions() argument
41 macrosPreprocessorOptions global() argument
47 searchDirectoriesFromDashIPreprocessorOptions global() argument
49 searchDirectoriesFromIntrModPathPreprocessorOptions global() argument
51 macrosFlagPreprocessorOptions global() argument
62 addMacroDefPreprocessorOptions addMacroDef() argument
66 addMacroUndefPreprocessorOptions addMacroUndef() argument
H A DCompilerInvocation.h19 #include "flang/Frontend/PreprocessorOptions.h"
48 std::shared_ptr<Fortran::frontend::PreprocessorOptions> preprocessorOpts;
61 PreprocessorOptions &getPreprocessorOpts() { return *preprocessorOpts; } in getPreprocessorOpts()
62 const PreprocessorOptions &getPreprocessorOpts() const { in getPreprocessorOpts()
H A DCompilerInstance.h18 #include "flang/Frontend/PreprocessorOptions.h"
212 PreprocessorOptions &preprocessorOpts() { in getDiagnosticClient()
215 const PreprocessorOptions &preprocessorOpts() const {
/llvm-project/clang/include/clang/CodeGen/
H A DModuleBuilder.h42 class PreprocessorOptions; variable
112 const PreprocessorOptions &PreprocessorOpts,
/llvm-project/clang/include/clang/ARCMigrate/
H A DFileRemapper.h28 class PreprocessorOptions; variable
58 void applyMappings(PreprocessorOptions &PPOpts) const;
/llvm-project/clang/unittests/Lex/
H A DPPCallbacksTest.cpp202 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts, in InclusionDirectiveFilenameRange()
221 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts, in InclusionDirectiveCharacteristicKind()
249 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts, in DirectiveExprRange()
274 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts, in PragmaMarkCall()
302 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, in PragmaOpenCLExtensionCall()
441 Preprocessor PP(std::make_shared<PreprocessorOptions>(), FileNotFoundDiags, in TEST_F()
H A DPPMemoryAllocationsTest.cpp71 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts, in TEST_F()
H A DPPConditionalDirectiveRecordTest.cpp79 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts, in TEST_F()
H A DPPDependencyDirectivesTest.cpp119 auto PPOpts = std::make_shared<PreprocessorOptions>(); in TEST_F()
/llvm-project/clang/include/clang/Lex/
H A DPreprocessorOptions.h66 class PreprocessorOptions {
215 PreprocessorOptions() : PrecompiledPreambleBytes(0, false) {} in PreprocessorOptions() function
/llvm-project/clang/lib/CodeGen/
H A DModuleBuilder.cpp38 const PreprocessorOptions &PreprocessorOpts; // Only used for debug info.
81 const PreprocessorOptions &PPO, const CodeGenOptions &CGO, in CodeGeneratorImpl()
367 const PreprocessorOptions &PreprocessorOpts, in CreateLLVMCodeGen()
H A DBackendConsumer.h
/llvm-project/clang/unittests/Basic/
H A DSourceManagerTest.cpp20 #include "clang/Lex/PreprocessorOptions.h"
141 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts, in TEST_F()
191 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts, in TEST_F()
466 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts, in TEST_F()
544 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts,
662 Preprocessor PP(std::make_shared<PreprocessorOptions>(), Diags, LangOpts, in TEST_F()
/llvm-project/clang/include/clang/Serialization/
H A DASTReader.h27 #include "clang/Lex/PreprocessorOptions.h"
99 class PreprocessorOptions;
206 virtual bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions()
285 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts,
319 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts,
340 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts,
1971 const PreprocessorOptions &PPOpts, in ReadDeclAs()
97 class PreprocessorOptions; global() variable
/llvm-project/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp23 #include "clang/Lex/PreprocessorOptions.h"
424 PreprocessorOptions &PreprocessorOpts = in Build()
612 PreprocessorOptions &PreprocessorOpts = in CanReuse()
790 const PCHStorage &Storage, PreprocessorOptions &PreprocessorOpts, in setupPreambleStorage()
H A DASTUnit.cpp54 #include "clang/Lex/PreprocessorOptions.h"
263 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in ~ASTUnit()
521 PreprocessorOptions &PPOpts;
531 HeaderSearchOptions &HSOpts, PreprocessorOptions &PPOpts, in ASTInfoCollector()
601 bool ReadPreprocessorOptions(const PreprocessorOptions &PPOpts, in ReadPreprocessorOptions()
840 AST->PPOpts = std::make_shared<PreprocessorOptions>(); in LoadFromASTFile()
1809 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); in LoadFromCommandLine()
1888 PreprocessorOptions &PPOpts = Invocation->getPreprocessorOpts(); in Reparse()
2208 PreprocessorOptions &PreprocessorOpts = CCInvocation->getPreprocessorOpts(); in CodeComplete()
/llvm-project/clang/unittests/Frontend/
H A DPCHPreambleTest.cpp14 #include "clang/Lex/PreprocessorOptions.h"
94 PreprocessorOptions &PPOpts = CI->getPreprocessorOpts(); in ParseAST()
/llvm-project/clang-tools-extra/clang-tidy/
H A DExpandModularHeadersPPCallbacks.cpp13 #include "clang/Lex/PreprocessorOptions.h"
95 auto PO = std::make_shared<PreprocessorOptions>(); in ExpandModularHeadersPPCallbacks()

12