summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclAttr.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-08-23 23:25:46 +0000
committerJohn McCall <rjmccall@apple.com>2010-08-23 23:25:46 +0000
commitb268a282a4f1911f1300fb703f28d77a78562d16 (patch)
treee9f72cf3658f6dc28ffb3ea17ae043b9b761ba5a /clang/lib/Sema/SemaDeclAttr.cpp
parentaaed5ea9b75ee6f6d699ed4033c4d77b689ee8b4 (diff)
downloadbcm5719-llvm-b268a282a4f1911f1300fb703f28d77a78562d16.tar.gz
bcm5719-llvm-b268a282a4f1911f1300fb703f28d77a78562d16.zip
Kill off ExprArg (now just Expr*) and StmtArg (now just Stmt*).
llvm-svn: 111863
Diffstat (limited to 'clang/lib/Sema/SemaDeclAttr.cpp')
-rw-r--r--clang/lib/Sema/SemaDeclAttr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp
index 11afd14df84..3213b2ea5db 100644
--- a/clang/lib/Sema/SemaDeclAttr.cpp
+++ b/clang/lib/Sema/SemaDeclAttr.cpp
@@ -193,7 +193,7 @@ static void HandleExtVectorTypeAttr(Scope *scope, Decl *d,
// Instantiate/Install the vector type, and let Sema build the type for us.
// This will run the reguired checks.
- QualType T = S.BuildExtVectorType(curType, S.Owned(sizeExpr), Attr.getLoc());
+ QualType T = S.BuildExtVectorType(curType, sizeExpr, Attr.getLoc());
if (!T.isNull()) {
// FIXME: preserve the old source info.
tDecl->setTypeSourceInfo(S.Context.getTrivialTypeSourceInfo(T));
OpenPOWER on IntegriCloud