[cfe-commits] r90120 - /cfe/trunk/lib/Driver/CC1Options.cpp
Daniel Dunbar
daniel at zuster.org
Mon Nov 30 00:40:46 PST 2009
Author: ddunbar
Date: Mon Nov 30 02:40:46 2009
New Revision: 90120
URL: http://llvm.org/viewvc/llvm-project?rev=90120&view=rev
Log:
clang -cc1: Initialize LangOptions::DollarIdents correctly.
Modified:
cfe/trunk/lib/Driver/CC1Options.cpp
Modified: cfe/trunk/lib/Driver/CC1Options.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/CC1Options.cpp?rev=90120&r1=90119&r2=90120&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/CC1Options.cpp (original)
+++ cfe/trunk/lib/Driver/CC1Options.cpp Mon Nov 30 02:40:46 2009
@@ -549,7 +549,7 @@
if (Args.hasArg(OPT_trigraphs))
Opts.Trigraphs = 1;
- Opts.DollarIdents = Opts.AsmPreprocessor;
+ Opts.DollarIdents = !Opts.AsmPreprocessor;
if (Args.hasArg(OPT_fdollars_in_identifiers))
Opts.DollarIdents = 1;
More information about the cfe-commits
mailing list