llvm-6502/lib/AsmParser
Duncan P. N. Exon Smith efcb266311 AsmParser: Use do{}while(false) in macros, NFC
`do { ... } while (false)` is standard macro etiquette for forcing
instantiations into a single statement and requiring a `;` afterwards,
making statement-like macros easier to reason about (and harder to use
incorrectly).

I'm about to modify the macros in `LexIdentifier()`.  I noticed that the
`KEYWORD` macro *does* follow the rule, so I thought I'd clean up the
other macros to match (otherwise might not be worth changing, since the
benefits of this pattern are fairly irrelevant here).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230095 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-20 23:49:24 +00:00
..
CMakeLists.txt Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
LLLexer.cpp AsmParser: Use do{}while(false) in macros, NFC 2015-02-20 23:49:24 +00:00
LLLexer.h AsmParser: Don't crash if a null byte is inside a quoted string 2014-12-10 00:43:17 +00:00
LLParser.cpp IR: Fix MDType fields from unsigned to uint64_t 2015-02-19 23:56:07 +00:00
LLParser.h AsmWriter/Bitcode: MDSubprogram 2015-02-13 01:26:47 +00:00
LLToken.h AsmWriter/Bitcode: MDExpression 2015-02-13 01:42:09 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile
module.modulemap [modules] Add module maps for LLVM. These are not quite ready for prime-time 2014-05-21 02:46:14 +00:00
Parser.cpp Remove std::move that was preventing return value optimization. 2015-01-17 00:46:44 +00:00