[lldb] [clang] [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:36:09 PST 2024


================
@@ -14,6 +14,11 @@
 
 #include "clang/AST/ODRHash.h"
 
+#include "clang/AST/APValue.h"
+#include "clang/AST/ASTContext.h"
+#include "clang/AST/CharUnits.h"
+#include "clang/AST/Decl.h"
+#include "clang/AST/DeclCXX.h"
----------------
bolshakov-a wrote:

Types from all of them are used inside `AddStructuralValue` function (`ASTContext` and `CharUnits` implicitly, as intermediate return types inside `D->getASTContext().getMemberPointerPathAdjustment(Value).getQuantity())` expression.

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


More information about the cfe-commits mailing list