summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/field-access-debug-info.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-08-29 22:44:27 +0000
committerAdrian Prantl <aprantl@apple.com>2014-08-29 22:44:27 +0000
commit21361fb308fa283eeb8cd2ed27a981b276eeaa15 (patch)
tree93eeedd7736397a68a21658d5eec8765c3d41906 /clang/test/CodeGenCXX/field-access-debug-info.cpp
parentdaedfda8920080193319ee11334557635369a378 (diff)
downloadbcm5719-llvm-21361fb308fa283eeb8cd2ed27a981b276eeaa15.tar.gz
bcm5719-llvm-21361fb308fa283eeb8cd2ed27a981b276eeaa15.zip
Debug info: Only emit C++ accessibility specifiers when they are diverging
from the default for the containing type. rdar://problem/18154959 llvm-svn: 216800
Diffstat (limited to 'clang/test/CodeGenCXX/field-access-debug-info.cpp')
-rw-r--r--clang/test/CodeGenCXX/field-access-debug-info.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/field-access-debug-info.cpp b/clang/test/CodeGenCXX/field-access-debug-info.cpp
index aed4ee5f3a7..2b5b53dcbd8 100644
--- a/clang/test/CodeGenCXX/field-access-debug-info.cpp
+++ b/clang/test/CodeGenCXX/field-access-debug-info.cpp
@@ -1,7 +1,7 @@
// RUN: %clang -g -S -emit-llvm %s -o - | FileCheck %s
-// CHECK: [ DW_TAG_member ] [p] [{{[^]]*}}] [from int]
-// CHECK: [ DW_TAG_member ] [pr] [{{[^]]*}}] [private] [from int]
+// CHECK: [ DW_TAG_member ] [p] [{{[^]]*}}] [public] [from int]
+// CHECK: [ DW_TAG_member ] [pr] [{{[^]]*}}] [from int]
class A {
public:
OpenPOWER on IntegriCloud