llvm-6502/lib/MC
Kevin Enderby 221514efe9 Add a warning when there is a macro defintion that has named parameters but
the body does not use them and it appears the body has positional parameters.

This can cause unexpected results as in the added test case.  As the darwin
version of gas(1) which only supported positional parameters, happened to
ignore the named parameters.  Now that we want to support both styles of
macros we issue a warning in this specific case.

rdar://12861644


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173199 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-22 21:44:53 +00:00
..
MCDisassembler Remove edis - the enhanced disassembler. Fixes PR14654. 2012-12-19 19:55:47 +00:00
MCParser Add a warning when there is a macro defintion that has named parameters but 2013-01-22 21:44:53 +00:00
CMakeLists.txt Remove MCTargetAsmLexer and its derived classes now that edis, 2012-12-20 14:43:30 +00:00
ELFObjectWriter.cpp This is a resubmittal. For some reason it broke the bots yesterday 2013-01-18 21:20:38 +00:00
LLVMBuild.txt
MachObjectWriter.cpp [MC/Mach-O] Load commands are supposed to 8-byte aligned on 64-bit. 2013-01-22 03:42:49 +00:00
Makefile
MCAsmBackend.cpp
MCAsmInfo.cpp Initial patch for x32 ABI support. 2013-01-22 18:02:49 +00:00
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmStreamer.cpp [MC/Mach-O] Implement integrated assembler support for linker options. 2013-01-18 19:37:00 +00:00
MCAssembler.cpp Optimize the memory usage of MC bundling, by creating a new type of fragment 2013-01-15 23:22:09 +00:00
MCAtom.cpp
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp Formatting. 2012-12-18 00:42:26 +00:00
MCDisassembler.cpp
MCDwarf.cpp Initial patch for x32 ABI support. 2013-01-22 18:02:49 +00:00
MCELF.cpp Added Mapping Symbols for ARM ELF 2012-12-07 16:50:23 +00:00
MCELFObjectTargetWriter.cpp
MCELFStreamer.cpp Optimize the memory usage of MC bundling, by creating a new type of fragment 2013-01-15 23:22:09 +00:00
MCExpr.cpp This patch improves the 64-bit PowerPC InitialExec TLS support by providing 2012-12-14 17:02:38 +00:00
MCInst.cpp
MCInstPrinter.cpp Try to unbreak the build on hosts that don't transitively pull in a definition for int64_t. 2012-12-05 18:31:11 +00:00
MCInstrAnalysis.cpp
MCLabel.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp [MC/Mach-O] Add support for linker options in Mach-O files. 2013-01-18 01:26:07 +00:00
MCModule.cpp
MCNullStreamer.cpp Expose an InitToTextSection through MCStreamer. 2013-01-14 19:04:57 +00:00
MCObjectFileInfo.cpp Split address information for DWARF5 split dwarf proposal. This involves 2013-01-15 23:56:56 +00:00
MCObjectStreamer.cpp These functions have default arguments of 0 for the last arg. Use 2013-01-09 01:35:34 +00:00
MCObjectWriter.cpp
MCPureStreamer.cpp Expose an InitToTextSection through MCStreamer. 2013-01-14 19:04:57 +00:00
MCRegisterInfo.cpp
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp
MCStreamer.cpp Last in the series of removing unnecessary '0' arguments for 2013-01-09 03:52:05 +00:00
MCSubtargetInfo.cpp
MCSymbol.cpp
MCValue.cpp
MCWin64EH.cpp
SubtargetFeature.cpp
WinCOFFObjectWriter.cpp Remove redundant 'llvm::' qualifications 2013-01-13 16:01:15 +00:00
WinCOFFStreamer.cpp Expose an InitToTextSection through MCStreamer. 2013-01-14 19:04:57 +00:00