LegalizeAdulthood added inline comments. ================ Comment at: test/clang-tidy/misc-const-ref-builtin.cpp:32-34 @@ +31,4 @@ + +void f(const int& i, const int& j); +// CHECK-MESSAGES: :[[@LINE-1]]:19: warning: const reference to 'int' at parameter 'i' in function 'f' [misc-const-ref-builtin] +// CHECK-MESSAGES: :[[@LINE-2]]:33: warning: const reference to 'int' at parameter 'j' in function 'f' [misc-const-ref-builtin] ---------------- I see tests here only for declarations, and not definitions of functions.
I also don't see any tests for: - member functions - template member functions - template specializations - tests where function signatures result from macro expansion, either in the body of a macro or as a macro argument http://reviews.llvm.org/D18191 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits