diff options
author | Alp Toker <alp@nuanti.com> | 2013-12-18 00:58:58 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2013-12-18 00:58:58 +0000 |
commit | c49406d18c84b5b0c4f90703e162d9496cf28db6 (patch) | |
tree | 19eb9ad45ee0706e359adf7f9b428b145d9a74eb /clang/tools/clang-format | |
parent | b97f44d9ef0828254e7e82d30f9f9d65c9d181dd (diff) | |
download | bcm5719-llvm-c49406d18c84b5b0c4f90703e162d9496cf28db6.tar.gz bcm5719-llvm-c49406d18c84b5b0c4f90703e162d9496cf28db6.zip |
clang-format-diff.py: add the OpenCL file extension
It's handled correctly as a C-family language.
llvm-svn: 197542
Diffstat (limited to 'clang/tools/clang-format')
-rwxr-xr-x | clang/tools/clang-format/clang-format-diff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/clang-format/clang-format-diff.py b/clang/tools/clang-format/clang-format-diff.py index b914c377957..5cece8db9e5 100755 --- a/clang/tools/clang-format/clang-format-diff.py +++ b/clang/tools/clang-format/clang-format-diff.py @@ -47,7 +47,7 @@ def main(): help='custom pattern selecting file paths to reformat ' '(case sensitive, override -iregex)') parser.add_argument('-iregex', metavar='PATTERN', default= - r'.*\.(cpp|cc|c\+\+|cxx|c|h|hpp|m|mm|inc|js)', + r'.*\.(cpp|cc|c\+\+|cxx|c|cl|h|hpp|m|mm|inc|js)', help='custom pattern selecting file paths to reformat ' '(case insensitive, override -regex)') parser.add_argument( |