diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-08-30 23:30:49 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-08-30 23:30:49 +0000 |
commit | 04633eb86621747bece5643f5909222e2dd6884f (patch) | |
tree | 9f381d35af67eeff573acc3360c27d259d98b111 /lib/Sema/SemaDeclAttr.cpp | |
parent | 71b87e4fa6bfb47107b099135864f9024004a4c9 (diff) |
Add a missing return. Bug noticed by Dawn Perchik!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112552 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclAttr.cpp')
-rw-r--r-- | lib/Sema/SemaDeclAttr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp index 9b36b31e7e..b920fcd4ff 100644 --- a/lib/Sema/SemaDeclAttr.cpp +++ b/lib/Sema/SemaDeclAttr.cpp @@ -1984,6 +1984,7 @@ static void HandleCallConvAttr(Decl *d, const AttributeList &Attr, Sema &S) { return; case AttributeList::AT_thiscall: d->addAttr(::new (S.Context) ThisCallAttr(Attr.getLoc(), S.Context)); + return; case AttributeList::AT_cdecl: d->addAttr(::new (S.Context) CDeclAttr(Attr.getLoc(), S.Context)); return; |