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)
llvm-svn: 299148

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

index 39c5e2e..42469a1 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 b344279..0797bde 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));