mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-11 17:08:42 +00:00
clang-cl: Make /d1PP an alias for -dD (PR36446)
llvm-svn: 325571
This commit is contained in:
parent
a9f8b0d1a9
commit
b8f369d636
@ -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_d1PP : CLFlag<"d1PP">,
|
||||
HelpText<"Retain macro definitions in /E mode">, Alias<dD>;
|
||||
def _SLASH_d1reportAllClassLayout : CLFlag<"d1reportAllClassLayout">,
|
||||
HelpText<"Dump record layout information">, Alias<fdump_record_layouts>;
|
||||
def _SLASH_diagnostics_caret : CLFlag<"diagnostics:caret">,
|
||||
|
@ -293,6 +293,9 @@
|
||||
// RUN: %clang_cl /TP /c /GX /GX- -### -- %s 2>&1 | FileCheck -check-prefix=GX_ %s
|
||||
// GX_-NOT: "-fcxx-exceptions" "-fexceptions"
|
||||
|
||||
// RUN: %clang_cl /d1PP -### -- %s 2>&1 | FileCheck -check-prefix=d1PP %s
|
||||
// d1PP: -dD
|
||||
|
||||
// We forward any unrecognized -W diagnostic options to cc1.
|
||||
// RUN: %clang_cl -Wunused-pragmas -### -- %s 2>&1 | FileCheck -check-prefix=WJoined %s
|
||||
// WJoined: "-cc1"
|
||||
|
Loading…
Reference in New Issue
Block a user