summaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-12-05 16:25:25 +0000
committerAlp Toker <alp@nuanti.com>2013-12-05 16:25:25 +0000
commit0fb788878818bb12b803e614a242fa6efe845260 (patch)
treeb37519d7c3d8ed358532ace4a9a67c6a949a9bb1 /lib/Frontend/CompilerInvocation.cpp
parent8e674ff884113429b53d23b18409caf67aaec1b7 (diff)
downloadclang-0fb788878818bb12b803e614a242fa6efe845260.tar.gz
clang-0fb788878818bb12b803e614a242fa6efe845260.tar.bz2
clang-0fb788878818bb12b803e614a242fa6efe845260.tar.xz
Fix a tranche of comment, test and doc typos
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--lib/Frontend/CompilerInvocation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp
index 20b8089fc6..dfa9ab2fe1 100644
--- a/lib/Frontend/CompilerInvocation.cpp
+++ b/lib/Frontend/CompilerInvocation.cpp
@@ -1139,7 +1139,8 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK,
Diags.Report(diag::err_drv_invalid_value)
<< A->getAsString(Args) << A->getValue();
else {
- // Valid standard, check to make sure language and standard are compatable.
+ // Valid standard, check to make sure language and standard are
+ // compatible.
const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd);
switch (IK) {
case IK_C: