]> granicus.if.org Git - clang/commitdiff
Fix typo, defind -> defined.
authorEric Christopher <echristo@gmail.com>
Fri, 31 Mar 2017 01:45:39 +0000 (01:45 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 31 Mar 2017 01:45:39 +0000 (01:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@299148 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/TargetInfo.h
lib/Sema/SemaTemplate.cpp

index 39c5e2ec40629efb4fced6f362470162c0d48661..42469a1ca9571eb4d6689047d38b973cb450496f 100644 (file)
@@ -154,7 +154,7 @@ public:
     /// typedef void* __builtin_va_list;
     VoidPtrBuiltinVaList,
 
-    /// __builtin_va_list as defind by the AArch64 ABI
+    /// __builtin_va_list as defined by the AArch64 ABI
     /// http://infocenter.arm.com/help/topic/com.arm.doc.ihi0055a/IHI0055A_aapcs64.pdf
     AArch64ABIBuiltinVaList,
 
index b344279784e913d3b425124613d1cf63278b4b15..0797bde2bc1f080699a76093018c0f907fc8a544 100644 (file)
@@ -5810,7 +5810,7 @@ ExprResult Sema::CheckTemplateArgument(NonTypeTemplateParmDecl *Param,
       // -- a temporary object
       // -- a string literal
       // -- the result of a typeid expression, or
-      // -- a predefind __func__ variable
+      // -- a predefined __func__ variable
       if (auto *E = Value.getLValueBase().dyn_cast<const Expr*>()) {
         if (isa<CXXUuidofExpr>(E)) {
           Converted = TemplateArgument(const_cast<Expr*>(E));