summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2013-05-02 23:15:45 +0000
committerDouglas Gregor <dgregor@apple.com>2013-05-02 23:15:45 +0000
commit33ebfe36e59dbc75a5f7ae28d59381ad478f460b (patch)
treea196bbabea5e86b50f46027143a9516c06202ce5 /clang/lib/Sema
parent076b7fc6084342c7c4c2e05b1775e001216a914c (diff)
downloadbcm5719-llvm-33ebfe36e59dbc75a5f7ae28d59381ad478f460b.tar.gz
bcm5719-llvm-33ebfe36e59dbc75a5f7ae28d59381ad478f460b.zip
Revert r180970; it's causing breakage.
llvm-svn: 180972
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r--clang/lib/Sema/SemaDecl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index cc8cb4a3951..1aab5c669f9 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -10633,8 +10633,8 @@ FieldDecl *Sema::CheckFieldDecl(DeclarationName Name, QualType T,
// FIXME: We need to pass in the attributes given an AST
// representation, not a parser representation.
if (D) {
- // FIXME: The current scope is almost... but not entirely... correct here.
- ProcessDeclAttributes(getCurScope(), NewFD, *D);
+ // FIXME: What to pass instead of TUScope?
+ ProcessDeclAttributes(TUScope, NewFD, *D);
if (NewFD->hasAttrs())
CheckAlignasUnderalignment(NewFD);
OpenPOWER on IntegriCloud