[PATCH] D76424: [AST] Use TypeDependence bitfield to calculate dependence on Types. NFC
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 19 04:17:17 PDT 2020
sammccall created this revision.
sammccall added a reviewer: hokein.
Herald added subscribers: cfe-commits, jfb.
Herald added a project: clang.
sammccall added a comment.
This mostly corresponds to the Expr refactoring in ec3060c72de6ab6992269318d92764199856e5fe <https://reviews.llvm.org/rGec3060c72de6ab6992269318d92764199856e5fe>, without the followup moving it to ComputeDependence yet.
I used a constructor param to assist in the refactoring and because most cases are really simple.
This clears the way for adding an Error dependence bit to Type and having it
mostly-automatically propagated.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D76424
Files:
clang/include/clang/AST/DependenceFlags.h
clang/include/clang/AST/LocInfoType.h
clang/include/clang/AST/Type.h
clang/include/clang/AST/TypeProperties.td
clang/lib/AST/ASTContext.cpp
clang/lib/AST/Type.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76424.251335.patch
Type: text/x-patch
Size: 45860 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200319/c5768003/attachment-0001.bin>
More information about the cfe-commits
mailing list