r338141 - Fix typos in comment.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 27 11:06:54 PDT 2018


Author: rsmith
Date: Fri Jul 27 11:06:54 2018
New Revision: 338141

URL: http://llvm.org/viewvc/llvm-project?rev=338141&view=rev
Log:
Fix typos in comment.

Modified:
    cfe/trunk/include/clang/AST/TypeLoc.h

Modified: cfe/trunk/include/clang/AST/TypeLoc.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/TypeLoc.h?rev=338141&r1=338140&r2=338141&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/TypeLoc.h (original)
+++ cfe/trunk/include/clang/AST/TypeLoc.h Fri Jul 27 11:06:54 2018
@@ -93,8 +93,8 @@ public:
   }
 
   /// Convert to the specified TypeLoc type, returning a null TypeLoc if
-  /// this TypeLock is not of the desired type. It will consider type
-  /// adjustments from a type that wad written as a T to another type that is
+  /// this TypeLoc is not of the desired type. It will consider type
+  /// adjustments from a type that was written as a T to another type that is
   /// still canonically a T (ignores parens, attributes, elaborated types, etc).
   template <typename T>
   T getAsAdjusted() const;




More information about the cfe-commits mailing list