llvm-6502/lib/MC/MCParser
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
..
AsmLexer.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
AsmParser.cpp Add a warning when there is a macro defintion that has named parameters but 2013-01-22 21:44:53 +00:00
CMakeLists.txt build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
COFFAsmParser.cpp Use the ExtensionDirectiveHandler type in other places where it makes sense. 2013-01-16 00:50:52 +00:00
DarwinAsmParser.cpp [MC/Mach-O] Add AsmParser support for .linker_option directive. 2013-01-18 01:25:48 +00:00
ELFAsmParser.cpp Use the ExtensionDirectiveHandler type in other places where it makes sense. 2013-01-16 00:50:52 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
MCAsmLexer.cpp Change SMRange to be half-open (exclusive end) instead of closed (inclusive) 2013-01-07 19:00:49 +00:00
MCAsmParser.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCAsmParserExtension.cpp Restore r125595 (reverted in r126336) with modifications: 2011-02-24 21:59:22 +00:00
MCTargetAsmParser.cpp [ms-inline asm] Add the isParsingInlineAsm() function to the MCAsmTargetParser. 2012-10-19 17:57:49 +00:00