aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2012-03-11 23:14:21 +0000
committerNick Lewycky <nicholas@mxc.ca>2012-03-11 23:14:21 +0000
commit0be8fb5bdfe7e07a57f07a740649ec8bfb690284 (patch)
tree1410833ab65ec1517b20f33a727a22cfb3b633ee
parent1ca052c09868169d4de4da5d1d45f07f2fe8511a (diff)
Fix typo in comment, 'langauge' -> 'language'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152547 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Basic/Linkage.h2
-rw-r--r--lib/Basic/IdentifierTable.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/Linkage.h b/include/clang/Basic/Linkage.h
index 01b6c79042..09a5a0b6b1 100644
--- a/include/clang/Basic/Linkage.h
+++ b/include/clang/Basic/Linkage.h
@@ -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
diff --git a/lib/Basic/IdentifierTable.cpp b/lib/Basic/IdentifierTable.cpp
index 7df52c6567..43899f0979 100644
--- a/lib/Basic/IdentifierTable.cpp
+++ b/lib/Basic/IdentifierTable.cpp
@@ -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,