nicovank accepted this revision. nicovank added a comment. This revision is now accepted and ready to land.
This is becoming repetitive, but I guess that's the nature of those things. Maybe something like this would help clean it up, not sure if any better for right now. template <typename T> // Lambda templates would have been nice. auto onTypeOrPointerType(const T &Type) { // onUnderlyingType ? return on(anyOf(hasType(Type), hasType(pointerType(pointee(Type))))); } Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D142939/new/ https://reviews.llvm.org/D142939 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits