aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r--lib/Sema/SemaDecl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp
index a00f60f681..4161078d65 100644
--- a/lib/Sema/SemaDecl.cpp
+++ b/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);