aboutsummaryrefslogtreecommitdiff
path: root/clang/include/clang/Frontend/FrontendOptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/include/clang/Frontend/FrontendOptions.h')
-rw-r--r--clang/include/clang/Frontend/FrontendOptions.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/clang/include/clang/Frontend/FrontendOptions.h b/clang/include/clang/Frontend/FrontendOptions.h
index 09969b596d63..b2be33032c08 100644
--- a/clang/include/clang/Frontend/FrontendOptions.h
+++ b/clang/include/clang/Frontend/FrontendOptions.h
@@ -90,7 +90,7 @@ enum ActionKind {
GeneratePCH,
/// Generate Interface Stub Files.
- GenerateInterfaceIfsExpV1,
+ GenerateInterfaceStubs,
/// Only execute frontend initialization.
InitOnly,
@@ -285,6 +285,9 @@ public:
/// Whether we include lookup table dumps in AST dumps.
unsigned ASTDumpLookups : 1;
+ /// Whether we include declaration type dumps in AST dumps.
+ unsigned ASTDumpDeclTypes : 1;
+
/// Whether we are performing an implicit module build.
unsigned BuildingImplicitModule : 1;
@@ -297,6 +300,9 @@ public:
/// Should a temporary file be used during compilation.
unsigned UseTemporary : 1;
+ /// When using -emit-module, treat the modulemap as a system module.
+ unsigned IsSystemModule : 1;
+
CodeCompleteOptions CodeCompleteOpts;
/// Specifies the output format of the AST.
@@ -426,9 +432,15 @@ public:
/// (in the format produced by -fdump-record-layouts).
std::string OverrideRecordLayoutsFile;
- /// Auxiliary triple for CUDA compilation.
+ /// Auxiliary triple for CUDA/HIP compilation.
std::string AuxTriple;
+ /// Auxiliary target CPU for CUDA/HIP compilation.
+ Optional<std::string> AuxTargetCPU;
+
+ /// Auxiliary target features for CUDA/HIP compilation.
+ Optional<std::vector<std::string>> AuxTargetFeatures;
+
/// Filename to write statistics to.
std::string StatsFile;