[PATCH] D42116: [clang-tidy] Adding Fuchsia checker for trailing returns

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 17 11:25:10 PST 2018


aaron.ballman added inline comments.


================
Comment at: clang-tidy/fuchsia/TrailingReturnCheck.cpp:25
+
+AST_TYPE_MATCHER(DecltypeType, decltypeType);
+
----------------
Good try, but if you rebase, you'll find that this macro has gone away entirely in r322687. I believe this macro was causing issues with ODR violations from its use in header files. I'd expand the macro manually.


https://reviews.llvm.org/D42116





More information about the cfe-commits mailing list