hanchenye-llvm-project/llvm/utils/emacs
Andrew Savonichev 04a8f1e6ec [emacs] Indent statement continuation to match clang-format
Summary:
Was:

  int LongVariableName =
    veryLongFunctionNameThatExceeds80ColumnsRule(SomeParameter);

  int ShortVar = veryLongFunctionNameThatStillFitsIntoOneLine(SomeParameter)
    .nowThisDoesntFit()
    .andThis()

Now:

  int LongVariableName =
      veryLongFunctionNameThatExceeds80ColumnsRule(SomeParameter);

  int ShortVar = veryLongFunctionNameThatStillFitsIntoOneLine(SomeParameter)
                     .nowThisDoesntFit()
                     .andThis()


Reviewers: espindola, MaskRay

Reviewed By: MaskRay

Subscribers: greened, llvm-commits

Differential Revision: https://reviews.llvm.org/D49726

llvm-svn: 338686
2018-08-02 08:50:41 +00:00
..
README
emacs.el [emacs] Indent statement continuation to match clang-format 2018-08-02 08:50:41 +00:00
llvm-mode.el
tablegen-mode.el

README

-*- llvm/utils/emacs/README -*-

These are syntax highlighting files for the Emacs and XEmacs editors. Included
are:

* llvm-mode.el

  Syntax highlighting mode for LLVM assembly files. To use, add this code to
  your ~/.emacs :

  (setq load-path
    (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
  (require 'llvm-mode)
  
* tablegen-mode.el

  Syntax highlighting mode for TableGen description files. To use, add this code
  to your ~/.emacs:

  (setq load-path
    (cons (expand-file-name "path-to-llvm/utils/emacs") load-path))
  (require 'tablegen-mode)


Note: If you notice missing or incorrect syntax highlighting, please contact
<llvm-bugs [at] lists.llvm.org>; if you wish to provide a patch to improve the
functionality, it will be most appreciated. Thank you.