summaryrefslogtreecommitdiffstats
path: root/clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp
diff options
context:
space:
mode:
authorMartin Probst <martin@probst.io>2017-08-14 16:08:16 +0000
committerMartin Probst <martin@probst.io>2017-08-14 16:08:16 +0000
commit83e0220b3ff81cd265e93d3d6029cb330b3fd87a (patch)
tree82aba455466e8699dc04fc7676b5d1f42d1eefa5 /clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp
parent6e01dc1b840139e07b60759a5cfa42d99bef8a43 (diff)
downloadbcm5719-llvm-83e0220b3ff81cd265e93d3d6029cb330b3fd87a.tar.gz
bcm5719-llvm-83e0220b3ff81cd265e93d3d6029cb330b3fd87a.zip
clang-format: [JS] do not insert whitespace in call positions.
Summary: In JavaScript, may keywords can be used in method names and thus call sites: foo.delete(); foo.instanceof(); clang-format would previously insert whitespace after the `instanceof`. This change generically skips inserting whitespace between a keyword and a parenthesis if preceded by a dot, i.e. in a callsite. Reviewers: djasper Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D36142 llvm-svn: 310851
Diffstat (limited to 'clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud