]> granicus.if.org Git - clang/commitdiff
Fix typo in comment, 'langauge' -> 'language'.
authorNick Lewycky <nicholas@mxc.ca>
Sun, 11 Mar 2012 23:14:21 +0000 (23:14 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 11 Mar 2012 23:14:21 +0000 (23:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152547 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Linkage.h
lib/Basic/IdentifierTable.cpp

index 01b6c790428aa901e9ad4f235175d708b97647a4..09a5a0b6b1f36167d6e44162a4fe85f8d207934f 100644 (file)
@@ -29,7 +29,7 @@ enum Linkage {
   InternalLinkage,
 
   /// \brief External linkage within a unique namespace. From the
-  /// langauge perspective, these entities have external
+  /// language perspective, these entities have external
   /// linkage. However, since they reside in an anonymous namespace,
   /// their names are unique to this translation unit, which is
   /// equivalent to having internal linkage from the code-generation
index 7df52c65676a065611c9185df941ae185a6c47dd..43899f0979b570cc3f9de01b3ef01753bd1f1a8a 100644 (file)
@@ -113,7 +113,7 @@ namespace {
 ///
 /// The C90/C99/CPP/CPP0x flags are set to 3 if the token is a keyword in a
 /// future language standard, set to 2 if the token should be enabled in the
-/// specified langauge, set to 1 if it is an extension in the specified
+/// specified language, set to 1 if it is an extension in the specified
 /// language, and set to 0 if disabled in the specified language.
 static void AddKeyword(StringRef Keyword,
                        tok::TokenKind TokenCode, unsigned Flags,