]> granicus.if.org Git - clang/commitdiff
Typo caught by Alp Toker: s/appertain/appertains
authorAaron Ballman <aaron@aaronballman.com>
Tue, 3 Dec 2013 13:45:50 +0000 (13:45 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Tue, 3 Dec 2013 13:45:50 +0000 (13:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196273 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/ClangAttrEmitter.cpp

index 13c5c99b3e3308a95447bff664dc7462d520bcbc..395400ea854669320a7f42c7d8c3c5bff7d51b05 100644 (file)
@@ -1863,7 +1863,7 @@ static std::string GenerateAppertainsTo(const Record &Attr, raw_ostream &OS) {
   // 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";