summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2016-01-26 02:51:55 +0000
committerRichard Trieu <rtrieu@google.com>2016-01-26 02:51:55 +0000
commit3a5c958182021abe2c2293409720ce9262711ef3 (patch)
treebf65be011b5f82a17137de2350169e9fe5657dfb /llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
parentf1c00a22be2ddd68d9c372dc93ac4e1486134788 (diff)
downloadbcm5719-llvm-3a5c958182021abe2c2293409720ce9262711ef3.tar.gz
bcm5719-llvm-3a5c958182021abe2c2293409720ce9262711ef3.zip
Fix -Wnull-conversion for long macros.
Move the function to get a macro name from DiagnosticRenderer.cpp to Lexer.cpp so that other files can use it. Lexer now has two functions to get the immediate macro name, the newly added one is better for diagnostic purposes. Make -Wnull-conversion use this function for better NULL macro detection. llvm-svn: 258778
Diffstat (limited to 'llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud