{"push_id":787705492,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"a33213294e50fb1ce85872650247c686ae188bba","before":"2a93615b637fe8e2c2416dcacb85ad770252123b","commits":[{"sha":"a33213294e50fb1ce85872650247c686ae188bba","author":{"email":"6b31706989f3cf9466bfddbf48eab0c43e646ba8@gmail.com","name":"Rafael Espindola"},"message":"Cleaning up LLVM IR mode for Emacs.\n\nI've made a range of improvements to the Emacs mode for LLVM IR.\n\nMost importantly, it changes llvm-mode to inherit from prog-mode. This\nmeans llvm-mode will be treated as a normal programming mode in Emacs,\nso many Emacs features will just work. prog-mode is new to Emacs 24,\nso I've added an alias to ensure compatibility with Emacs 23 too.\n\nI've changed the mode definition to use define-derived-mode. This\nsaves us needing to set up local variables ourselves, and saves us\nneeding to define llvm-mode-map, llvm-mode-abbrev-table,\nllvm-mode-map.\n\nI've removed the keybindings to tab-to-tab-stop, center-line and\ncenter-paragraph. This shouldn't be llvm-mode's responsibility, and\nthe code didn't actually work anyway (since `(not llvm-mode-map)`\nalways evaluated to `t`, the keybindings were never executed).\n\nI've simplified the syntax-table definition, it's equivalent (e.g. `\"`\nis treated as string delimiter by default in Emacs). I've added `.` as\na symbol constituent, so functions like `llvm.memset.p0i8.i32` are\nrecognised as a single symbol. I've also changed `%` to be a symbol\nconstituent, so users can move between words or symbols at their\nchoice, rather than conflating the two.\n\nI've fixed regexp for types, which incorrect used `symbol` instead of\n`symbols` as an argument to `regexp-opt`. This was causing incorrect\nhighlighting on lines like `call void @foovoid`.\n\nI've removed string and comment highlighting from\n`llvm-font-lock-keywords`. This is already handled by the\nsyntax-table.\n\nFinally, I've removed the reference to jasmin. That project is long\nabandoned and the link 404s. For reference, I've found an old copy of\nthe project here:\nhttps://github.com/stevej/emacs/blob/master/vendor/jasmin/jasmin.el\n\nPatch by Wilfred Hughes!","distinct":true,"url":"https://api.github.com/repos/llvm-project/llvm-project/commits/a33213294e50fb1ce85872650247c686ae188bba"}]}