aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorRamkumar Ramachandra <artagnon@gmail.com>2015-01-23 19:45:35 +0000
committerRamkumar Ramachandra <artagnon@gmail.com>2015-01-23 19:45:35 +0000
commitc3c8b27616a119369ffbe2033c5eb645fde5d358 (patch)
tree1ecbb668aabf9fa7267a0cca75fdd5e8f74eb5ca /llvm/tools/llvm-objdump/llvm-objdump.cpp
parentd1c13736e0132718b550824ffb05764679d17eb4 (diff)
downloadllvm-c3c8b27616a119369ffbe2033c5eb645fde5d358.zip
llvm-c3c8b27616a119369ffbe2033c5eb645fde5d358.tar.gz
llvm-c3c8b27616a119369ffbe2033c5eb645fde5d358.tar.bz2
[emacs] llvm-mode: fix parens, font-lock i*
In llvm-mode, with electric-pair-mode turned on, typing a literal '[' would print out '[[', and '(' would print a '(('. This was a very annoying bug caused by overzealous syntax-table entries: the parens are already part of the '(' and ')' class by default. Fix this. While at it, notice that i32, i64, i1 etc. are not font-locked despite a clear intent to do so. The issue is that regexp-opt doesn't accept regular expressions. So, spell out the common literal integers with different widths. Differential Revision: http://reviews.llvm.org/D7036 llvm-svn: 226931
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions