[clang] [lldb] [clang-tools-extra] [c++20] P1907R1: Support for generalized non-type template arguments of scalar type. (PR #78041)

Andrey Ali Khan Bolshakov via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 13 08:22:12 PST 2024


================
@@ -25,10 +25,13 @@
 #include "clang/AST/ASTContext.h"
 #include "clang/AST/Attr.h"
 #include "clang/AST/DeclObjC.h"
+#include "clang/AST/Expr.h"
 #include "clang/AST/NSAPI.h"
 #include "clang/AST/StmtVisitor.h"
+#include "clang/AST/Type.h"
 #include "clang/Basic/Builtins.h"
 #include "clang/Basic/CodeGenOptions.h"
+#include "clang/Basic/LLVM.h"
----------------
bolshakov-a wrote:

`FullExpr` is defined in `Expr.h`, `QualType` is in `Type.h`, and `LLVM.h` pulls `isa` function into `clang` namespace with `using llvm::isa;`. All of this is needed for `getConstantExprReferredType` function.

https://github.com/llvm/llvm-project/pull/78041


More information about the cfe-commits mailing list