We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ASTUnit::CodeGenOpts
1 parent 2490bb7 commit a5625edCopy full SHA for a5625ed
clang/include/clang/Frontend/ASTUnit.h
@@ -476,6 +476,11 @@ class ASTUnit {
476
return *LangOpts;
477
}
478
479
+ const CodeGenOptions &getCodeGenOpts() const {
480
+ assert(CodeGenOpts && "ASTUnit does not have codegen options");
481
+ return *CodeGenOpts;
482
+ }
483
+
484
const HeaderSearchOptions &getHeaderSearchOpts() const {
485
assert(HSOpts && "ASTUnit does not have header search options");
486
return *HSOpts;
0 commit comments