221514efe92676ce84a5e21bea91d8a6b21f9ed7 |
|
22-Jan-2013 |
Kevin Enderby <enderby@apple.com> |
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
/external/llvm/test/MC/MachO/bad-macro.s
|