sammccall accepted this revision.
sammccall added inline comments.
This revision is now accepted and ready to land.
================
Comment at: clang/include/clang/AST/DependenceFlags.h:67
-struct TemplateArgumentDependenceScope {
- enum TemplateArgumentDependence : uint8_t {
- UnexpandedPack = 1,
- Instantiation = 2,
- Dependent = 4,
-
- Error = 8,
-
- DependentInstantiation = Dependent | Instantiation,
- None = 0,
- All = 15,
- LLVM_MARK_AS_BITMASK_ENUM(/*LargestValue=*/Error)
- };
-};
-using TemplateArgumentDependence =
- TemplateArgumentDependenceScope ::TemplateArgumentDependence;
-
#define LLVM_COMMON_DEPENDENCE(NAME)
\
struct NAME##Scope {
\
----------------
FWIW I don't think this macro is worth the complexity, maybe we should expand
it out at some point.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82526/new/
https://reviews.llvm.org/D82526
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits