[cfe-commits] r57744 - in /cfe/trunk/test/Coverage: c-language-features.inc objc-language-features.inc
Daniel Dunbar
daniel at zuster.org
Fri Oct 17 16:04:32 PDT 2008
Author: ddunbar
Date: Fri Oct 17 18:04:32 2008
New Revision: 57744
URL: http://llvm.org/viewvc/llvm-project?rev=57744&view=rev
Log:
Add some uses of PredefinedExpr to language coverage includes.
Modified:
cfe/trunk/test/Coverage/c-language-features.inc
cfe/trunk/test/Coverage/objc-language-features.inc
Modified: cfe/trunk/test/Coverage/c-language-features.inc
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Coverage/c-language-features.inc?rev=57744&r1=57743&r2=57744&view=diff
==============================================================================
--- cfe/trunk/test/Coverage/c-language-features.inc (original)
+++ cfe/trunk/test/Coverage/c-language-features.inc Fri Oct 17 18:04:32 2008
@@ -137,3 +137,9 @@
float4 t1 = t0;
t0.lo.e = t1.hi.x;
}
+
+void f6() {
+ char *s0 = __func__;
+ char *s1 = __FUNCTION__;
+ char *s2 = __PRETTY_FUNCTION__;
+}
Modified: cfe/trunk/test/Coverage/objc-language-features.inc
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Coverage/objc-language-features.inc?rev=57744&r1=57743&r2=57744&view=diff
==============================================================================
--- cfe/trunk/test/Coverage/objc-language-features.inc (original)
+++ cfe/trunk/test/Coverage/objc-language-features.inc Fri Oct 17 18:04:32 2008
@@ -30,7 +30,11 @@
[super fm0];
}
-(void) im0 {
+ char *s0 = __func__;
+ char *s1 = __FUNCTION__;
+ char *s2 = __PRETTY_FUNCTION__;
[super im0];
+ int x = super.p0;
}
-(void) im1: (int) x, ... {
}
More information about the cfe-commits
mailing list