aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2012-11-11 07:02:14 +0000
committerNico Weber <nicolasweber@gmx.de>2012-11-11 07:02:14 +0000
commitbb23628148f555a4cf71f98c27096a7a804c085c (patch)
tree90b3c66b8de14b9b6f85c5de7a2f4f1f0cb72287 /lib/Frontend
parenta6600a339fee660cac2bd9b04cf578fa47ed491d (diff)
s/BCPLComment/LineComment/
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend')
-rw-r--r--lib/Frontend/CompilerInvocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp
index d0ff7d2345..8baad79835 100644
--- a/lib/Frontend/CompilerInvocation.cpp
+++ b/lib/Frontend/CompilerInvocation.cpp
@@ -941,7 +941,7 @@ void CompilerInvocation::setLangDefaults(LangOptions &Opts, InputKind IK,
}
const LangStandard &Std = LangStandard::getLangStandardForKind(LangStd);
- Opts.BCPLComment = Std.hasBCPLComments();
+ Opts.LineComment = Std.hasLineComments();
Opts.C99 = Std.isC99();
Opts.C11 = Std.isC11();
Opts.CPlusPlus = Std.isCPlusPlus();