diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2011-01-27 19:17:54 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2011-01-27 19:17:54 +0000 |
commit | b7ee2e5cc999a45ec4fd7b879477816714aabb7e (patch) | |
tree | 2b58dd1730b74027a41049fe7bc9234a92ba2fa5 /lib/Sema/AttributeList.cpp | |
parent | 96554fd1aa7350498de8911fb6f303a9262e6ec0 (diff) |
Revert r124217 because it didn't catch the actual error case it was trying to
catch:
lock_guard(my_mutex);
declares a variable instead of creating a temporary.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124398 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/AttributeList.cpp')
-rw-r--r-- | lib/Sema/AttributeList.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Sema/AttributeList.cpp b/lib/Sema/AttributeList.cpp index c3efda9a7a..77d962542b 100644 --- a/lib/Sema/AttributeList.cpp +++ b/lib/Sema/AttributeList.cpp @@ -85,7 +85,6 @@ AttributeList::Kind AttributeList::getKind(const IdentifierInfo *Name) { .Case("deprecated", AT_deprecated) .Case("visibility", AT_visibility) .Case("destructor", AT_destructor) - .Case("forbid_temporaries", AT_forbid_temporaries) .Case("format_arg", AT_format_arg) .Case("gnu_inline", AT_gnu_inline) .Case("weak_import", AT_weak_import) |