projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06d112d
)
Fix warnings introduced by r165826.
author
DeLesley Hutchins
<delesley@google.com>
Fri, 12 Oct 2012 21:49:04 +0000
(21:49 +0000)
committer
DeLesley Hutchins
<delesley@google.com>
Fri, 12 Oct 2012 21:49:04 +0000
(21:49 +0000)
llvm-svn: 165829
clang/lib/Sema/SemaDecl.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/SemaDecl.cpp
b/clang/lib/Sema/SemaDecl.cpp
index
a00f60f
..
4161078
100644
(file)
--- a/
clang/lib/Sema/SemaDecl.cpp
+++ b/
clang/lib/Sema/SemaDecl.cpp
@@
-1739,6
+1739,8
@@
DeclHasAttr(const Decl *D, const Attr *A) {
case attr::AcquiredBefore:
case attr::AcquiredAfter:
return false;
+ default:
+ ;
}
const OwnershipAttr *OA = dyn_cast<OwnershipAttr>(A);