Make Intel syntax the default when LLVM is built with VC++.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28095 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen 2006-05-04 16:19:27 +00:00
parent 4efeab208c
commit a6e24d8caf

View File

@ -37,7 +37,12 @@ AsmWriterFlavor("x86-asm-syntax",
clEnumVal(att, " Emit AT&T-style assembly"),
clEnumVal(intel, " Emit Intel-style assembly"),
clEnumValEnd),
cl::init(att));
#ifdef _MSC_VER
cl::init(intel)
#else
cl::init(att)
#endif
);
/// doInitialization
bool X86SharedAsmPrinter::doInitialization(Module &M) {