Author: ibiryukov Date: Thu Dec 14 06:51:17 2017 New Revision: 320702 URL: http://llvm.org/viewvc/llvm-project?rev=320702&view=rev Log: Renamed test file to use proper naming convention
Also changed the order of CHECK statements. CHEKC-NOT must come before CHECK in skipped-function-bodies.cpp Added: cfe/trunk/test/Index/skipped-function-bodies.cpp - copied, changed from r320697, cfe/trunk/test/Index/skipped_function_bodies.cpp Removed: cfe/trunk/test/Index/skipped_function_bodies.cpp Copied: cfe/trunk/test/Index/skipped-function-bodies.cpp (from r320697, cfe/trunk/test/Index/skipped_function_bodies.cpp) URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/skipped-function-bodies.cpp?p2=cfe/trunk/test/Index/skipped-function-bodies.cpp&p1=cfe/trunk/test/Index/skipped_function_bodies.cpp&r1=320697&r2=320702&rev=320702&view=diff ============================================================================== --- cfe/trunk/test/Index/skipped_function_bodies.cpp (original) +++ cfe/trunk/test/Index/skipped-function-bodies.cpp Thu Dec 14 06:51:17 2017 @@ -5,5 +5,5 @@ inline int with_body() { return 10; } inline int without_body(); int x = with_body() + without_body(); -// CHECK: warning: inline function 'without_body' is not defined // CHECK-NOT: warning: inline function 'with_body' is not defined +// CHECK: warning: inline function 'without_body' is not defined Removed: cfe/trunk/test/Index/skipped_function_bodies.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/skipped_function_bodies.cpp?rev=320701&view=auto ============================================================================== --- cfe/trunk/test/Index/skipped_function_bodies.cpp (original) +++ cfe/trunk/test/Index/skipped_function_bodies.cpp (removed) @@ -1,9 +0,0 @@ -// RUN: env CINDEXTEST_SKIP_FUNCTION_BODIES=1 c-index-test -test-load-source all %s 2>&1 \ -// RUN: | FileCheck %s - -inline int with_body() { return 10; } -inline int without_body(); - -int x = with_body() + without_body(); -// CHECK: warning: inline function 'without_body' is not defined -// CHECK-NOT: warning: inline function 'with_body' is not defined _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits