r199666 - Fixing a typo (turned out to be harmless since the default priority values are the same between the two attributes).
Aaron Ballman
aaron at aaronballman.com
Mon Jan 20 07:22:57 PST 2014
Author: aaronballman
Date: Mon Jan 20 09:22:57 2014
New Revision: 199666
URL: http://llvm.org/viewvc/llvm-project?rev=199666&view=rev
Log:
Fixing a typo (turned out to be harmless since the default priority values are the same between the two attributes).
Modified:
cfe/trunk/lib/Sema/SemaDeclAttr.cpp
Modified: cfe/trunk/lib/Sema/SemaDeclAttr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclAttr.cpp?rev=199666&r1=199665&r2=199666&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclAttr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclAttr.cpp Mon Jan 20 09:22:57 2014
@@ -1651,7 +1651,7 @@ static void handleDestructorAttr(Sema &S
return;
}
- uint32_t priority = ConstructorAttr::DefaultPriority;
+ uint32_t priority = DestructorAttr::DefaultPriority;
if (Attr.getNumArgs() > 0 &&
!checkUInt32Argument(S, Attr, Attr.getArgAsExpr(0), priority))
return;
More information about the cfe-commits
mailing list