aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorJordan Rupprecht <rupprecht@google.com>2019-02-28 19:16:45 +0000
committerJordan Rupprecht <rupprecht@google.com>2019-02-28 19:16:45 +0000
commit8bd97e752f325e2bbeb92f66b5bbb709ae361622 (patch)
tree8cfdaa2731f5960d23a7219e77673d5f59ec053b /llvm/lib/IR/Module.cpp
parent54be909aa08de1f9622b5f3d199f5d3b65bb29a4 (diff)
downloadllvm-8bd97e752f325e2bbeb92f66b5bbb709ae361622.zip
llvm-8bd97e752f325e2bbeb92f66b5bbb709ae361622.tar.gz
llvm-8bd97e752f325e2bbeb92f66b5bbb709ae361622.tar.bz2
[clang-format][NFC] Allow getLLVMStyle() to take a language
Summary: getLLVMStyle() sets the default style, but doesn't take the language as a parameter, so can't set default parameters when they differ from C++. This change adds LanguageKind as an input to getLLVMStyle so that we can start doing that. See D55964 as a motivation for this, where we want Tablegen to be formatted differently than C++. Reviewers: djasper, krasimir, MyDeveloperDay Reviewed By: MyDeveloperDay Subscribers: jdoerfert, MyDeveloperDay, kristina, cfe-commits, arphaman Tags: #clang Differential Revision: https://reviews.llvm.org/D56943 llvm-svn: 355123
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions