]> granicus.if.org Git - clang/commitdiff
Make checking for 'protected' access in debug info more legible.
authorDavid Blaikie <dblaikie@gmail.com>
Sat, 5 Jan 2013 21:41:59 +0000 (21:41 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Sat, 5 Jan 2013 21:41:59 +0000 (21:41 +0000)
Based on code review feedback for r171604 from Chandler Carruth &
Eric Christopher. Enabled by improvements to LLVM made in r171636.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171637 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/debug-info-method.cpp

index 8923d5f7e8013faef9cbc86018f312b9274e77af..dfd397987fba007db24539ac9e972291f2d8ce1e 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: %clang_cc1 -emit-llvm -std=c++11 -g %s -o - | FileCheck %s
-// CHECK: metadata !"_ZN1A3fooEiS_3$_0", {{.*}}, i32 258
+// CHECK: metadata !"_ZN1A3fooEiS_3$_0", {{.*}} [protected]
 // CHECK: ""{{.*}}DW_TAG_arg_variable
 // CHECK: ""{{.*}}DW_TAG_arg_variable
 // CHECK: ""{{.*}}DW_TAG_arg_variable