Commit Graph

11 Commits

Author SHA1 Message Date
Kate Stone e5a5104e27 Updated .clang-format rules so bring LLDB in line with LLVM standards.
llvm-svn: 280721
2016-09-06 17:19:00 +00:00
Kate Stone b03a71eea8 Reverted premature changes to .clang-format
llvm-svn: 279316
2016-08-19 20:46:37 +00:00
Kate Stone 41de9a9791 Moved #include for lldb-python.h to a distinct group with a reminder comment
declaring that it must be first.  Failure to do so results in build failures
on macOS due to subtle header conflicts.

llvm-svn: 279315
2016-08-19 20:44:07 +00:00
Zachary Turner 5075c99f27 Update .clang-format file to support break after return type.
This depends on having a recently built version of clang-format
installed, as the patch to support this behavior was only just
recently added to clang-format.

llvm-svn: 256526
2015-12-28 22:09:29 +00:00
Pavel Labath a6c8217c25 Add AccessModifierOffset to clang-format style
Summary:
As we override the indent option of the LLVM style, we need to override the access modifier
offset as well. Otherwise, classes will be formatted like such
class A
{
  public:
    int foo;
};
which is not used anywhere in LLDB. This option makes clang-format style more similar to LLDB and
brings it closer to the original intention of LLVM style, which was to not indent access
modifiers.

Reviewers: zturner, tfiala

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D15562

llvm-svn: 255882
2015-12-17 09:19:36 +00:00
Ryan Brown 998c8a1c1c Create an expression parser for Go.
The Go interpreter doesn't JIT or use LLVM, so this also
moves all the JIT related code from UserExpression to a new class LLVMUserExpression.

Differential Revision: http://reviews.llvm.org/D13073

Fix merge

llvm-svn: 251820
2015-11-02 19:30:40 +00:00
Zachary Turner c99b5ce13a Update build instructions / coding conventions.
This improves the instructions for checking out LLDB, adds
more links to LLVM instructions, and more explicitly calls out
when we differ from the style guide.

Also updates the clang-format configuration file to correctly
reflect a 120 column limit.

Reviewed by: Jim Ingham
Differential Revision: http://reviews.llvm.org/D8222

llvm-svn: 231884
2015-03-10 23:22:25 +00:00
Zachary Turner b25e7b42a9 Fix .clang-format file to adhere to LLDB 140 column limit.
llvm-svn: 215993
2014-08-19 17:18:38 +00:00
Zachary Turner 43f30a4082 Modification to clang-format style.
Fixes constructor initializer list and function return type style.

llvm-svn: 215654
2014-08-14 16:29:15 +00:00
Zachary Turner f818625103 Update clang-format file.
llvm-svn: 215572
2014-08-13 20:08:28 +00:00
David Majnemer 5149bac8b4 Add a .clang-format file to enhance formatting experience with clang-format
clang-format is a handy tool that formats code very intelligently.  I'd
like to use it with LLDB but it requires a .clang-format file to inform
it about LLDB-specific formatting rules.

More information on these rules are here:
http://clang.llvm.org/docs/ClangFormatStyleOptions.html

Differential Revision: http://reviews.llvm.org/D4630

llvm-svn: 213823
2014-07-24 00:26:04 +00:00