diff options
author | Richard Trieu <rtrieu@google.com> | 2016-01-26 02:51:55 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2016-01-26 02:51:55 +0000 |
commit | 3a5c958182021abe2c2293409720ce9262711ef3 (patch) | |
tree | bf65be011b5f82a17137de2350169e9fe5657dfb /llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp | |
parent | f1c00a22be2ddd68d9c372dc93ac4e1486134788 (diff) | |
download | bcm5719-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