forked from OSchip/llvm-project
clang-cl: Alias /d1reportAllClassLayout to -fdump-record-layouts (PR32826)
llvm-svn: 301567
This commit is contained in:
parent
40c32dd9a0
commit
883522b1fa
|
@ -61,6 +61,8 @@ def _SLASH_Brepro_ : CLFlag<"Brepro-">,
|
|||
def _SLASH_C : CLFlag<"C">,
|
||||
HelpText<"Don't discard comments when preprocessing">, Alias<C>;
|
||||
def _SLASH_c : CLFlag<"c">, HelpText<"Compile only">, Alias<c>;
|
||||
def _SLASH_d1reportAllClassLayout : CLFlag<"d1reportAllClassLayout">,
|
||||
HelpText<"Dump record layout information">, Alias<fdump_record_layouts>;
|
||||
def _SLASH_D : CLJoinedOrSeparate<"D">, HelpText<"Define macro">,
|
||||
MetaVarName<"<macro[=value]>">, Alias<D>;
|
||||
def _SLASH_E : CLFlag<"E">, HelpText<"Preprocess to stdout">, Alias<E>;
|
||||
|
|
|
@ -14,6 +14,9 @@
|
|||
// C_P: "-E"
|
||||
// C_P: "-C"
|
||||
|
||||
// RUN: %clang_cl /d1reportAllClassLayout -### -- %s 2>&1 | FileCheck -check-prefix=d1reportAllClassLayout %s
|
||||
// d1reportAllClassLayout: -fdump-record-layouts
|
||||
|
||||
// RUN: %clang_cl /Dfoo=bar /D bar=baz /DMYDEF#value /DMYDEF2=foo#bar /DMYDEF3#a=b /DMYDEF4# \
|
||||
// RUN: -### -- %s 2>&1 | FileCheck -check-prefix=D %s
|
||||
// D: "-D" "foo=bar"
|
||||
|
|
Loading…
Reference in New Issue