[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:29:03 PST 2024


================
@@ -12,6 +12,7 @@
 #include "clang/AST/DeclCXX.h"
 #include "clang/AST/DeclTemplate.h"
 #include "clang/AST/DeclVisitor.h"
+#include "clang/AST/ODRHash.h"
----------------
bolshakov-a wrote:

`ODRHash` is used inside the newly added code. Btw, what do you mean by "necessary"? I think one should not rely on transitive `#include`s in general. (I'm just an active contributor of [the IWYU project](https://github.com/include-what-you-use/include-what-you-use/). ~~Trust me!~~)

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


More information about the cfe-commits mailing list