llvm-project/clang/lib
Martin Probst 83e0220b3f 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
2017-08-14 16:08:16 +00:00
..
ARCMigrate Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:23:19 +00:00
AST PR34163: Don't cache an incorrect key function for a class if queried between 2017-08-12 01:46:03 +00:00
ASTMatchers [ASTMatchers] Fix use after free. 2017-06-09 17:55:42 +00:00
Analysis Reland "Thread Safety Analysis: fix assert_capability." 2017-08-08 19:44:34 +00:00
Basic [c++2a] Treat 'concept' and 'requires' as keywords, add compat warning for C++17 and before. 2017-08-13 21:32:33 +00:00
CodeGen [OPENMP][DEBUG] Fix for PR33676: Debug info for OpenMP region is broken. 2017-08-14 16:03:47 +00:00
Driver Fix memory leak in ToolChain::TranslateOpenMPTargetArgs 2017-08-14 07:44:05 +00:00
Edit [clang] Fix format specifiers fixits for nested macros 2017-06-20 20:46:58 +00:00
Format clang-format: [JS] do not insert whitespace in call positions. 2017-08-14 16:08:16 +00:00
Frontend Implement latest feature test macro recommendations, P0096R4. 2017-08-11 03:39:40 +00:00
FrontendTool Update after LLVM change r309087 2017-07-26 09:10:17 +00:00
Headers [OpenCL] Remove extra select functions from opencl-c.h 2017-08-05 02:23:47 +00:00
Index [index] Set SymbolSubKind::Accessor[GS]etter on class methods 2017-07-21 23:04:27 +00:00
Lex Rename cxx1z -> cxx17 across all diagnostic IDs. 2017-08-13 23:37:29 +00:00
Parse Rename cxx1z -> cxx17 across all diagnostic IDs. 2017-08-13 23:37:29 +00:00
Rewrite [Analyzer] Add support for displaying cross-file diagnostic paths in HTML output 2017-08-03 18:12:22 +00:00
Sema Set the lexical context for dummy tag decl inside createTagFromNewDecl 2017-08-14 10:59:44 +00:00
Serialization Revert "PR19668, PR23034: Fix handling of move constructors and deleted copy constructors when deciding whether classes should be passed indirectly." 2017-08-09 12:22:25 +00:00
StaticAnalyzer [analyzer] Rename functions responsible for CFG-based suppress-on-sink. 2017-08-14 08:38:47 +00:00
Tooling [rename] NFC, extract symbol canonicalization logic into function 2017-08-02 14:15:27 +00:00
CMakeLists.txt