1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/lib
Duncan P. N. Exon Smith d50d0da4e2 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).

llvm-svn: 230095
2015-02-20 23:49:24 +00:00
..
Analysis [LoopAccesses] Change LAA:getInfo to return a constant reference 2015-02-19 19:15:21 +00:00
AsmParser AsmParser: Use do{}while(false) in macros, NFC 2015-02-20 23:49:24 +00:00
Bitcode Bitcode: Stop assuming non-null fields 2015-02-20 03:17:58 +00:00
CodeGen LiveRangeCalc: Don't start liveranges of PHI instruction at the block begin. 2015-02-20 23:43:14 +00:00
DebugInfo Raising minimum required CMake version to 2.8.12.2. 2015-02-20 21:28:18 +00:00
ExecutionEngine Raising minimum required CMake version to 2.8.12.2. 2015-02-20 21:28:18 +00:00
Fuzzer [fuzzer] one more experimental search mode: -use_coverage_pairs=1 2015-02-20 03:02:37 +00:00
IR IR: Change MDFile to directly store the filename/directory 2015-02-20 20:35:17 +00:00
IRReader Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
LineEditor Use ADDITIONAL_HEADER_DIRS in all LLVM CMake projects. 2015-02-11 03:28:02 +00:00
Linker Prefer SmallVector::append/insert over push_back loops. 2015-02-17 15:29:18 +00:00
LTO [PM] Remove the old 'PassManager.h' header file at the top level of 2015-02-13 10:01:29 +00:00
MC MC: Allow multiple comma-separated expressions on the .uleb128 directive. 2015-02-19 20:24:04 +00:00
Object Introduce Target::createNullTargetStreamer and use it from IRObjectFile. 2015-02-19 00:45:02 +00:00
Option Prefer SmallVector::append/insert over push_back loops. 2015-02-17 15:29:18 +00:00
ProfileData Disallow implicit conversions from None to integer types 2015-02-20 07:28:28 +00:00
Support Checking if TARGET_OS_IPHONE is defined isn't good enough for 10.7 and earlier. 2015-02-19 19:50:52 +00:00
TableGen MSVC 2013 does not ICE on this code in the same fashion that MSVC 2012 did; NFC. 2015-02-16 19:33:36 +00:00
Target X86: Remove pre-2010 dead code in mergeSPUpdatesDown 2015-02-20 22:13:25 +00:00
Transforms Remove some unnecessary unreachables in favor of (sometimes implicit) assertions 2015-02-20 23:44:24 +00:00
CMakeLists.txt Reverting r227452, which adds back the fuzzer library. Now excluding the fuzzer library based on LLVM_USE_SANITIZE_COVERAGE being set or unset. 2015-01-29 16:58:29 +00:00
LLVMBuild.txt
Makefile Move DebugInfo to DebugInfo/DWARF. 2015-01-30 18:07:45 +00:00