[cfe-commits] r100943 - in /cfe/trunk: include/clang/Driver/CC1Options.td lib/Frontend/CompilerInvocation.cpp test/Coverage/ast-printing.cpp
Anders Carlsson
andersca at mac.com
Sat Apr 10 12:09:13 PDT 2010
Author: andersca
Date: Sat Apr 10 14:09:13 2010
New Revision: 100943
URL: http://llvm.org/viewvc/llvm-project?rev=100943&view=rev
Log:
Rename -dump-record-layouts to -fdump-record-layouts now that the option behaves like aa flag.
Modified:
cfe/trunk/include/clang/Driver/CC1Options.td
cfe/trunk/lib/Frontend/CompilerInvocation.cpp
cfe/trunk/test/Coverage/ast-printing.cpp
Modified: cfe/trunk/include/clang/Driver/CC1Options.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/CC1Options.td?rev=100943&r1=100942&r2=100943&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/CC1Options.td (original)
+++ cfe/trunk/include/clang/Driver/CC1Options.td Sat Apr 10 14:09:13 2010
@@ -315,7 +315,7 @@
def ftime_report : Flag<"-ftime-report">,
HelpText<"Print the amount of time each phase of compilation takes">;
-def dump_record_layouts : Flag<"-dump-record-layouts">,
+def fdump_record_layouts : Flag<"-fdump-record-layouts">,
HelpText<"Dump record layout information">;
//===----------------------------------------------------------------------===//
Modified: cfe/trunk/lib/Frontend/CompilerInvocation.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInvocation.cpp?rev=100943&r1=100942&r2=100943&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInvocation.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInvocation.cpp Sat Apr 10 14:09:13 2010
@@ -1204,7 +1204,7 @@
Opts.PICLevel = getLastArgIntValue(Args, OPT_pic_level, 0, Diags);
Opts.SjLjExceptions = Args.hasArg(OPT_fsjlj_exceptions);
Opts.Static = Args.hasArg(OPT_static_define);
- Opts.DumpRecordLayouts = Args.hasArg(OPT_dump_record_layouts);
+ Opts.DumpRecordLayouts = Args.hasArg(OPT_fdump_record_layouts);
Opts.DumpVtableLayouts = Args.hasArg(OPT_fdump_vtable_layouts);
Opts.OptimizeSize = 0;
Modified: cfe/trunk/test/Coverage/ast-printing.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Coverage/ast-printing.cpp?rev=100943&r1=100942&r2=100943&view=diff
==============================================================================
--- cfe/trunk/test/Coverage/ast-printing.cpp (original)
+++ cfe/trunk/test/Coverage/ast-printing.cpp Sat Apr 10 14:09:13 2010
@@ -3,6 +3,6 @@
// RUN: %clang_cc1 -ast-dump %s
// FIXME: %clang_cc1 -ast-print-xml -o %t %s
// RUN: %clang_cc1 -print-decl-contexts %s
-// RUN: %clang_cc1 -dump-record-layouts %s
+// RUN: %clang_cc1 -fdump-record-layouts %s
#include "cxx-language-features.inc"
More information about the cfe-commits
mailing list