[clang-tools-extra] r270841 - clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp: Tweak for r270775.

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Thu May 26 04:20:55 PDT 2016


Author: chapuni
Date: Thu May 26 06:20:54 2016
New Revision: 270841

URL: http://llvm.org/viewvc/llvm-project?rev=270841&view=rev
Log:
clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp: Tweak for r270775.

Modified:
    clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp

Modified: clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp?rev=270841&r1=270840&r2=270841&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp Thu May 26 06:20:54 2016
@@ -15,7 +15,7 @@ void check() {
   f_vararg(1, 7, 9);
   // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: do not call c-style vararg functions [cppcoreguidelines-pro-type-vararg]
   c.g_vararg("foo");
-  // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: do not call c-style vararg functions
+  // CHECK-MESSAGES: :[[@LINE-1]]:5: warning: do not call c-style vararg functions
 
   f(3); // OK
   c.g("foo"); // OK




More information about the cfe-commits mailing list