diff options
| author | Nick Lewycky <nicholas@mxc.ca> | 2014-05-28 09:56:42 +0000 |
|---|---|---|
| committer | Nick Lewycky <nicholas@mxc.ca> | 2014-05-28 09:56:42 +0000 |
| commit | 9b46eb81127be4a7560952677294d3c376648c08 (patch) | |
| tree | 99e4aa165636c60d4f0e903a00b1f41e7976a6ae /clang/test/CodeGenObjCXX/lvalue-reference-getter.mm | |
| parent | a09b70579a8cbddbd677250916e82cf43932bd99 (diff) | |
| download | bcm5719-llvm-9b46eb81127be4a7560952677294d3c376648c08.tar.gz bcm5719-llvm-9b46eb81127be4a7560952677294d3c376648c08.zip | |
Add 'nonnull' parameter or return attribute when producing an llvm pointer type in a function type where the C++ type is a reference. Update the tests.
llvm-svn: 209723
Diffstat (limited to 'clang/test/CodeGenObjCXX/lvalue-reference-getter.mm')
| -rw-r--r-- | clang/test/CodeGenObjCXX/lvalue-reference-getter.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjCXX/lvalue-reference-getter.mm b/clang/test/CodeGenObjCXX/lvalue-reference-getter.mm index 83d3b9320b2..fcf9b29785d 100644 --- a/clang/test/CodeGenObjCXX/lvalue-reference-getter.mm +++ b/clang/test/CodeGenObjCXX/lvalue-reference-getter.mm @@ -24,5 +24,5 @@ static SetSection gSetSection; // CHECK: [[SELF:%.*]] = alloca [[T6:%.*]]*, align // CHECK: [[T0:%.*]] = load {{.*}}* [[SELF]], align // CHECK: [[T1:%.*]] = load {{.*}}* @"\01L_OBJC_SELECTOR_REFERENCES_" -// CHECK: [[C:%.*]] = call %struct.SetSection* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend -// CHECK: call i32* @_ZN10SetSection2atEi(%struct.SetSection* [[C]] +// CHECK: [[C:%.*]] = call nonnull %struct.SetSection* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend +// CHECK: call nonnull i32* @_ZN10SetSection2atEi(%struct.SetSection* [[C]] |

