]> granicus.if.org Git - clang/commitdiff
Fixing a typo (turned out to be harmless since the default priority values are the...
authorAaron Ballman <aaron@aaronballman.com>
Mon, 20 Jan 2014 15:22:57 +0000 (15:22 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 20 Jan 2014 15:22:57 +0000 (15:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199666 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaDeclAttr.cpp

index c6ff0316ed5836c62fce1f875b6b2a0078e01dd4..0c78ffec3912ecb9228798db990e1925cd80f6f1 100644 (file)
@@ -1651,7 +1651,7 @@ static void handleDestructorAttr(Sema &S, Decl *D, const AttributeList &Attr) {
     return;
   }
 
-  uint32_t priority = ConstructorAttr::DefaultPriority;
+  uint32_t priority = DestructorAttr::DefaultPriority;
   if (Attr.getNumArgs() > 0 &&
       !checkUInt32Argument(S, Attr, Attr.getArgAsExpr(0), priority))
     return;