summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprAgg.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2013-12-10 11:28:13 +0000
committerAlexander Kornienko <alexfh@google.com>2013-12-10 11:28:13 +0000
commit31a6506c8e8ca93e70165849570b4e9cbf91ed2e (patch)
tree3b27d4c1a0a019b1d4f18f95b6b2eaf8a54fdb8a /lib/CodeGen/CGExprAgg.cpp
parented52f0556d4b63b475dcd36a659554ec1bf02108 (diff)
downloadclang-31a6506c8e8ca93e70165849570b4e9cbf91ed2e.tar.gz
clang-31a6506c8e8ca93e70165849570b4e9cbf91ed2e.tar.bz2
clang-31a6506c8e8ca93e70165849570b4e9cbf91ed2e.tar.xz
Allow predefined styles to define different options for different languages.
Summary: Allow predefined styles to define different options for different languages so that one can run: clang-format -style=google file1.cpp file2.js or use a single .clang-format file with "BasedOnStyle: Google" for both c++ and JS files. Added Google style for JavaScript with "BreakBeforeTernaryOperators" set to false. Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2364 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196909 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions