compiler-rt: Rename last few cc files below test/ubsan to cpp
authorNico Weber <nicolasweber@gmx.de>
Mon, 5 Aug 2019 13:23:38 +0000 (13:23 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 5 Aug 2019 13:23:38 +0000 (13:23 +0000)
See r367803 and similar other changes.

llvm-svn: 367855

compiler-rt/test/ubsan/TestCases/Misc/Linux/print_stack_trace.cpp [moved from compiler-rt/test/ubsan/TestCases/Misc/Linux/print_stack_trace.cc with 86% similarity]
compiler-rt/test/ubsan/TestCases/Misc/Linux/ubsan_options.cpp [moved from compiler-rt/test/ubsan/TestCases/Misc/Linux/ubsan_options.cc with 81% similarity]
compiler-rt/test/ubsan/TestCases/Misc/coverage-levels.cpp [moved from compiler-rt/test/ubsan/TestCases/Misc/coverage-levels.cc with 100% similarity]
compiler-rt/test/ubsan/TestCases/Misc/log-path_test.cpp [moved from compiler-rt/test/ubsan/TestCases/Misc/log-path_test.cc with 100% similarity]
compiler-rt/test/ubsan/lit.common.cfg.py

@@ -19,5 +19,5 @@ int main() {
   return 0;
 }
 
-// CHECK: {{.*}} in FooBarBaz{{.*}}print_stack_trace.cc{{.*}}
-// CHECK: {{.*}} in main{{.*}}print_stack_trace.cc{{.*}}
+// CHECK: {{.*}} in FooBarBaz{{.*}}print_stack_trace.cpp{{.*}}
+// CHECK: {{.*}} in main{{.*}}print_stack_trace.cpp{{.*}}
@@ -12,7 +12,7 @@ extern "C" const char *__ubsan_default_options() {
 
 int main() {
   (void)(uint64_t(10000000000000000000ull) + uint64_t(9000000000000000000ull));
-  // CHECK: ubsan_options.cc:[[@LINE-1]]:44: runtime error: unsigned integer overflow
+  // CHECK: ubsan_options.cpp:[[@LINE-1]]:44: runtime error: unsigned integer overflow
   return 0;
 }
 
index bff3633..a5564eb 100644 (file)
@@ -65,7 +65,7 @@ config.substitutions.append( ("%clangxx ", build_invocation(clang_ubsan_cxxflags
 config.substitutions.append( ("%gmlt ", " ".join(config.debug_info_flags) + " ") )
 
 # Default test suffixes.
-config.suffixes = ['.c', '.cc', '.cpp']
+config.suffixes = ['.c', '.cpp']
 
 # Check that the host supports UndefinedBehaviorSanitizer tests
 if config.host_os not in ['Linux', 'Darwin', 'FreeBSD', 'Windows', 'NetBSD', 'SunOS', 'OpenBSD']: