Author: d0k
Date: Wed May 25 04:44:35 2016
New Revision: 270682

URL: http://llvm.org/viewvc/llvm-project?rev=270682&view=rev
Log:
[clang-tidy] Fix typo in test file name.

polo

Added:
    
clang-tools-extra/trunk/test/clang-tidy/modernize-pass-by-value-macro-header.cpp
      - copied, changed from r270599, 
clang-tools-extra/trunk/test/clang-tidy/modernize-pass-by-value-marco-header.cpp
Removed:
    
clang-tools-extra/trunk/test/clang-tidy/modernize-pass-by-value-marco-header.cpp

Copied: 
clang-tools-extra/trunk/test/clang-tidy/modernize-pass-by-value-macro-header.cpp
 (from r270599, 
clang-tools-extra/trunk/test/clang-tidy/modernize-pass-by-value-marco-header.cpp)
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/modernize-pass-by-value-macro-header.cpp?p2=clang-tools-extra/trunk/test/clang-tidy/modernize-pass-by-value-macro-header.cpp&p1=clang-tools-extra/trunk/test/clang-tidy/modernize-pass-by-value-marco-header.cpp&r1=270599&r2=270682&rev=270682&view=diff
==============================================================================
    (empty)

Removed: 
clang-tools-extra/trunk/test/clang-tidy/modernize-pass-by-value-marco-header.cpp
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/modernize-pass-by-value-marco-header.cpp?rev=270681&view=auto
==============================================================================
--- 
clang-tools-extra/trunk/test/clang-tidy/modernize-pass-by-value-marco-header.cpp
 (original)
+++ 
clang-tools-extra/trunk/test/clang-tidy/modernize-pass-by-value-marco-header.cpp
 (removed)
@@ -1,16 +0,0 @@
-// RUN: %check_clang_tidy %s modernize-pass-by-value %t -- -- -std=c++11 
-isystem %S/Inputs/Headers
-
-// CHECK-FIXES: #include <utility>
-
-#define HEADER <./a.h>
-#include HEADER
-
-struct A {
-};
-
-struct B {
-  B(const A &a) : a(a) {}
-// CHECK-MESSAGES: :[[@LINE-1]]:5: warning: pass by value and use std::move 
[modernize-pass-by-value]
-// CHECK-FIXES: B(A a) : a(std::move(a)) {}
-  A a;
-};


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to