[PATCH] D73363: Verify that clang's max alignment is <= LLVM's max alignment
Reid Kleckner via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 30 13:38:35 PST 2020
rnk added inline comments.
================
Comment at: clang/lib/CodeGen/CGValue.h:18
#include "clang/AST/ASTContext.h"
+#include "clang/Sema/Sema.h"
#include "clang/AST/Type.h"
----------------
This includes Sema.h into every codegen file that uses CGValue.h (most of them). That seems bad for build time. :(
This also seems like a layering violation. CodeGen has no dependency on Sema:
https://github.com/llvm/llvm-project/blob/master/clang/lib/CodeGen/CMakeLists.txt#L104
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73363/new/
https://reviews.llvm.org/D73363
More information about the cfe-commits
mailing list