r196273 - Typo caught by Alp Toker: s/appertain/appertains

Aaron Ballman aaron at aaronballman.com
Tue Dec 3 05:45:50 PST 2013


Author: aaronballman
Date: Tue Dec  3 07:45:50 2013
New Revision: 196273

URL: http://llvm.org/viewvc/llvm-project?rev=196273&view=rev
Log:
Typo caught by Alp Toker: s/appertain/appertains

Modified:
    cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp

Modified: cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp?rev=196273&r1=196272&r2=196273&view=diff
==============================================================================
--- cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp (original)
+++ cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp Tue Dec  3 07:45:50 2013
@@ -1863,7 +1863,7 @@ static std::string GenerateAppertainsTo(
   // Otherwise, generate an appertainsTo check specific to this attribute which
   // checks all of the given subjects against the Decl passed in. Return the
   // name of that check to the caller.
-  std::string FnName = "check" + Attr.getName() + "AppertainTo";
+  std::string FnName = "check" + Attr.getName() + "AppertainsTo";
   std::stringstream SS;
   SS << "static bool " << FnName << "(Sema &S, const AttributeList &Attr, ";
   SS << "const Decl *D) {\n";





More information about the cfe-commits mailing list