summaryrefslogtreecommitdiffstats
path: root/clang/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
commitf6a24ce40fd5e807a5e71b17d0c04866e195fb87 (patch)
tree7cef755bd0df91b4b4b1267fb92e52a8a7953ded /clang/lib/Frontend/CompilerInvocation.cpp
parent4cc2b87375e4d7a9ffdd93434033b742074ed078 (diff)
downloadbcm5719-llvm-f6a24ce40fd5e807a5e71b17d0c04866e195fb87.tar.gz
bcm5719-llvm-f6a24ce40fd5e807a5e71b17d0c04866e195fb87.zip
Fix a tranche of comment, test and doc typos
llvm-svn: 196510
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInvocation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 20b8089fc68..dfa9ab2fe1a 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/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:
OpenPOWER on IntegriCloud