r306672 - [clang-format] Fix parsing of msg{field}-style proto options

2017-06-29 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Jun 29 06:30:41 2017 New Revision: 306672 URL: http://llvm.org/viewvc/llvm-project?rev=306672&view=rev Log: [clang-format] Fix parsing of msg{field}-style proto options Summary: This patch makes the `{` in `msg_field{field: OK}` in a proto option scope be treated as an

r307029 - [clang-format] Support text proto messages

2017-07-03 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Jul 3 08:05:14 2017 New Revision: 307029 URL: http://llvm.org/viewvc/llvm-project?rev=307029&view=rev Log: [clang-format] Support text proto messages Summary: This patch adds support for textual protocol buffer messages. Reviewers: djasper Reviewed By: djasper Subsc

r307147 - [clang-format] Fix an uninitialized memory access

2017-07-05 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Jul 5 05:24:01 2017 New Revision: 307147 URL: http://llvm.org/viewvc/llvm-project?rev=307147&view=rev Log: [clang-format] Fix an uninitialized memory access Modified: cfe/trunk/lib/Format/FormatToken.h Modified: cfe/trunk/lib/Format/FormatToken.h URL: http://llvm

[clang-tools-extra] r307241 - [clangd] Add support for per-file extra flags

2017-07-06 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Jul 6 01:44:54 2017 New Revision: 307241 URL: http://llvm.org/viewvc/llvm-project?rev=307241&view=rev Log: [clangd] Add support for per-file extra flags Summary: This patch adds the ability to specify user-defined extra flags per opened file through the LSP layer. This

r307261 - [clang-format] Add space between a message field key and the opening bracket in proto messages

2017-07-06 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Jul 6 06:58:29 2017 New Revision: 307261 URL: http://llvm.org/viewvc/llvm-project?rev=307261&view=rev Log: [clang-format] Add space between a message field key and the opening bracket in proto messages Summary: This patch updates the formatting of message fields of ty

r307264 - [clang-format] Add TextProto language name, NFC

2017-07-06 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Jul 6 07:39:39 2017 New Revision: 307264 URL: http://llvm.org/viewvc/llvm-project?rev=307264&view=rev Log: [clang-format] Add TextProto language name, NFC Modified: cfe/trunk/include/clang/Format/Format.h Modified: cfe/trunk/include/clang/Format/Format.h URL: htt

Re: [PATCH] D35215: [clangd] Fix Go to Definition not working in VSCode extension

2017-07-11 Thread Krasimir Georgiev via cfe-commits
Not really. It will get confused by a setup in which you open 2 files depending on each other with spaces in their names, for example: A A: #include "B B", because clangd will not recognize that the local B%20B is the same as B B. On Tue, Jul 11, 2017 at 7:35 PM, Marc-Andre Laperle via Phabricator

r307795 - [clang-format] Keep level of comment before an empty line

2017-07-12 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Jul 12 08:21:43 2017 New Revision: 307795 URL: http://llvm.org/viewvc/llvm-project?rev=307795&view=rev Log: [clang-format] Keep level of comment before an empty line Summary: This patch fixes bug https://bugs.llvm.org/show_bug.cgi?id=3313: a comment line was aligned wit

r308269 - [Index] Prevent canonical decl becoming nullptr

2017-07-18 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Tue Jul 18 00:20:53 2017 New Revision: 308269 URL: http://llvm.org/viewvc/llvm-project?rev=308269&view=rev Log: [Index] Prevent canonical decl becoming nullptr Summary: This patch prevents getCanonicalDecl returning nullptr in case it finds a canonical TemplateDeclaration w

[clang-tools-extra] r308486 - [clangd] Allow specifying -resource-dir

2017-07-19 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Jul 19 08:43:35 2017 New Revision: 308486 URL: http://llvm.org/viewvc/llvm-project?rev=308486&view=rev Log: [clangd] Allow specifying -resource-dir Summary: This patch allows clangd to specify its -resource-dir. Reviewers: bkramer, klimek Reviewed By: bkramer Subscri

r308684 - [clang-format] Put '/**' and '*/' on own lines in multiline jsdocs

2017-07-20 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Jul 20 15:29:39 2017 New Revision: 308684 URL: http://llvm.org/viewvc/llvm-project?rev=308684&view=rev Log: [clang-format] Put '/**' and '*/' on own lines in multiline jsdocs Reviewers: mprobst Reviewed By: mprobst Subscribers: cfe-commits, klimek Differential Revisi

r308725 - [clang-format] Fix comment levels between '}' and PPDirective

2017-07-21 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Fri Jul 21 03:26:13 2017 New Revision: 308725 URL: http://llvm.org/viewvc/llvm-project?rev=308725&view=rev Log: [clang-format] Fix comment levels between '}' and PPDirective Summary: This fixes a regression exposed by r307795 in which the level of a comment line between '}'

r308882 - [clang-format] Fix comment levels between '} else {' and PPDirective.

2017-07-24 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Jul 24 07:51:59 2017 New Revision: 308882 URL: http://llvm.org/viewvc/llvm-project?rev=308882&view=rev Log: [clang-format] Fix comment levels between '} else {' and PPDirective. Summary: This fixes a regression exposed by r307795 and rL308725 in which the level of a com

r308918 - [clang-format] Reorder assignments, NFC

2017-07-24 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Jul 24 12:52:49 2017 New Revision: 308918 URL: http://llvm.org/viewvc/llvm-project?rev=308918&view=rev Log: [clang-format] Reorder assignments, NFC Modified: cfe/trunk/lib/Format/UnwrappedLineParser.cpp Modified: cfe/trunk/lib/Format/UnwrappedLineParser.cpp URL: h

[clang-tools-extra] r308970 - [clangd] Reuse compile commands during reparse

2017-07-25 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Tue Jul 25 04:37:43 2017 New Revision: 308970 URL: http://llvm.org/viewvc/llvm-project?rev=308970&view=rev Log: [clangd] Reuse compile commands during reparse Summary: Previously we always queried the compilation database and discarded the results if the file was already op

r322479 - [clang-format] Adds a FormatStyleSet

2018-01-15 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Jan 15 04:06:16 2018 New Revision: 322479 URL: http://llvm.org/viewvc/llvm-project?rev=322479&view=rev Log: [clang-format] Adds a FormatStyleSet Summary: This patch adds a FormatStyleSet for storing per-language FormatStyles for the purposes of formatting code blocks in

r322634 - [clang-format] Reorganize RawStringFormat based on language

2018-01-17 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Jan 17 04:24:59 2018 New Revision: 322634 URL: http://llvm.org/viewvc/llvm-project?rev=322634&view=rev Log: [clang-format] Reorganize RawStringFormat based on language Summary: This patch changes the structure for raw string formatting options by making it language base

r322678 - [clang-format] adds enclosing function detection to raw string formatting

2018-01-17 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Jan 17 08:17:26 2018 New Revision: 322678 URL: http://llvm.org/viewvc/llvm-project?rev=322678&view=rev Log: [clang-format] adds enclosing function detection to raw string formatting Summary: This patch adds enclosing function detection to raw string formatting. Reviewe

r322749 - [clang-format] Replace unordered_set with an array

2018-01-17 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Jan 17 12:01:02 2018 New Revision: 322749 URL: http://llvm.org/viewvc/llvm-project?rev=322749&view=rev Log: [clang-format] Replace unordered_set with an array Summary: This replaces an unordered_set from r322690 with an array and binary search. Reviewers: bkramer, ben

r322954 - [clang-format] Fix shortening blocks in macros causing merged next line

2018-01-19 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Fri Jan 19 08:12:37 2018 New Revision: 322954 URL: http://llvm.org/viewvc/llvm-project?rev=322954&view=rev Log: [clang-format] Fix shortening blocks in macros causing merged next line Summary: This patch addresses bug 36002, where a combination of options causes the line fo

r322956 - [clang-format] Adds a canonical delimiter to raw string formatting

2018-01-19 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Fri Jan 19 08:18:47 2018 New Revision: 322956 URL: http://llvm.org/viewvc/llvm-project?rev=322956&view=rev Log: [clang-format] Adds a canonical delimiter to raw string formatting Summary: This patch adds canonical delimiter support to the raw string formatting. This allows

r323188 - [clang-format] Ignore UnbreakableTailLength sometimes during breaking

2018-01-23 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Tue Jan 23 03:26:19 2018 New Revision: 323188 URL: http://llvm.org/viewvc/llvm-project?rev=323188&view=rev Log: [clang-format] Ignore UnbreakableTailLength sometimes during breaking Summary: This patch fixes an issue where the UnbreakableTailLength would be counted towards

r323319 - [clang-format] Disable string literal breaking for text protos

2018-01-24 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Jan 24 03:18:39 2018 New Revision: 323319 URL: http://llvm.org/viewvc/llvm-project?rev=323319&view=rev Log: [clang-format] Disable string literal breaking for text protos Summary: Commonly string literals in protos are already multiline, so breaking them further is unde

r323419 - [clang-format] Fixes indentation of inner text proto messages

2018-01-25 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Jan 25 06:10:43 2018 New Revision: 323419 URL: http://llvm.org/viewvc/llvm-project?rev=323419&view=rev Log: [clang-format] Fixes indentation of inner text proto messages Summary: Consider the text proto: ``` message { sub { key: value } } ``` Previously the first `{`

r323678 - [clang-format] Disable some text proto delimiters and functions for google style

2018-01-29 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Jan 29 11:28:05 2018 New Revision: 323678 URL: http://llvm.org/viewvc/llvm-project?rev=323678&view=rev Log: [clang-format] Disable some text proto delimiters and functions for google style Summary: This disables some of the most commonly used text proto delimiters and f

r323860 - [clang-format] Adds space around braces in text protos

2018-01-31 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Jan 31 02:14:10 2018 New Revision: 323860 URL: http://llvm.org/viewvc/llvm-project?rev=323860&view=rev Log: [clang-format] Adds space around braces in text protos Summary: This patch modifies the text proto Google style to add spaces around braces. I investigated using

r295044 - [clang-format] Remove dead code in FormatTestComments, NFC

2017-02-14 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Tue Feb 14 04:35:42 2017 New Revision: 295044 URL: http://llvm.org/viewvc/llvm-project?rev=295044&view=rev Log: [clang-format] Remove dead code in FormatTestComments, NFC Modified: cfe/trunk/unittests/Format/FormatTestComments.cpp Modified: cfe/trunk/unittests/Format/F

[clang-tools-extra] r295304 - [clangd] Implement format on type

2017-02-16 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Feb 16 04:49:46 2017 New Revision: 295304 URL: http://llvm.org/viewvc/llvm-project?rev=295304&view=rev Log: [clangd] Implement format on type Summary: This patch adds onTypeFormatting to clangd. The trigger character is '}' and it works by scanning for the matching '{'

[clang-tools-extra] r295305 - [clangd] Fix Output.log error

2017-02-16 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Feb 16 04:53:27 2017 New Revision: 295305 URL: http://llvm.org/viewvc/llvm-project?rev=295305&view=rev Log: [clangd] Fix Output.log error Modified: clang-tools-extra/trunk/clangd/ProtocolHandlers.cpp Modified: clang-tools-extra/trunk/clangd/ProtocolHandlers.cpp URL

r295312 - [clang-format] Align block comment decorations

2017-02-16 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Feb 16 06:39:31 2017 New Revision: 295312 URL: http://llvm.org/viewvc/llvm-project?rev=295312&view=rev Log: [clang-format] Align block comment decorations Summary: This patch implements block comment decoration alignment. source: ``` /* line 1 * line 2 */ ``` result b

[clang-tools-extra] r295317 - Fix clang-move test after clang-format update r295312

2017-02-16 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Feb 16 07:17:38 2017 New Revision: 295317 URL: http://llvm.org/viewvc/llvm-project?rev=295317&view=rev Log: Fix clang-move test after clang-format update r295312 Modified: clang-tools-extra/trunk/unittests/clang-move/ClangMoveTests.cpp Modified: clang-tools-extra/t

r295714 - [clang-format] Remove unused member variables from BreakableToken

2017-02-21 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Tue Feb 21 04:54:50 2017 New Revision: 295714 URL: http://llvm.org/viewvc/llvm-project?rev=295714&view=rev Log: [clang-format] Remove unused member variables from BreakableToken Modified: cfe/trunk/lib/Format/BreakableToken.cpp cfe/trunk/lib/Format/BreakableToken.h

r296341 - [clang-format] Add a NamespaceEndCommentsFixer

2017-02-27 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Feb 27 07:28:36 2017 New Revision: 296341 URL: http://llvm.org/viewvc/llvm-project?rev=296341&view=rev Log: [clang-format] Add a NamespaceEndCommentsFixer Summary: This patch adds a NamespaceEndCommentsFixer TokenAnalyzer for clang-format, which fixes end namespace comm

[clang-tools-extra] r296618 - [clangd] Add a toy VS Code integration for development purposes

2017-03-01 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Mar 1 07:53:12 2017 New Revision: 296618 URL: http://llvm.org/viewvc/llvm-project?rev=296618&view=rev Log: [clangd] Add a toy VS Code integration for development purposes Summary: This patch adds bare-bone VS Code integration for development purposes of clangd. Revie

r296632 - [clang-format] Add a new flag FixNamespaceComments to FormatStyle

2017-03-01 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Mar 1 09:35:39 2017 New Revision: 296632 URL: http://llvm.org/viewvc/llvm-project?rev=296632&view=rev Log: [clang-format] Add a new flag FixNamespaceComments to FormatStyle Summary: This patch enables namespace end comments under a new flag FixNamespaceComments, which

r296638 - [clang-format] Don't add namespace end comments for unbalanced right braces after namespace end

2017-03-01 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Mar 1 10:38:08 2017 New Revision: 296638 URL: http://llvm.org/viewvc/llvm-project?rev=296638&view=rev Log: [clang-format] Don't add namespace end comments for unbalanced right braces after namespace end Modified: cfe/trunk/lib/Format/UnwrappedLineParser.cpp cf

r296736 - [clang-format] Use number of unwrapped lines for short namespace

2017-03-02 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Mar 2 03:54:44 2017 New Revision: 296736 URL: http://llvm.org/viewvc/llvm-project?rev=296736&view=rev Log: [clang-format] Use number of unwrapped lines for short namespace Summary: This patch makes the namespace comment fixer use the number of unwrapped lines that a na

r297028 - [clang-format] Make NamespaceEndCommentFixer add at most one comment

2017-03-06 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Mar 6 10:44:45 2017 New Revision: 297028 URL: http://llvm.org/viewvc/llvm-project?rev=297028&view=rev Log: [clang-format] Make NamespaceEndCommentFixer add at most one comment Summary: Until now, NamespaceEndCommentFixer was adding missing comments for every run, which

r297034 - [clang-format] Add tests for ambiguous namespaces to the comment fixer

2017-03-06 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon Mar 6 11:29:25 2017 New Revision: 297034 URL: http://llvm.org/viewvc/llvm-project?rev=297034&view=rev Log: [clang-format] Add tests for ambiguous namespaces to the comment fixer Modified: cfe/trunk/unittests/Format/NamespaceEndCommentsFixerTest.cpp Modified: cfe/t

r297140 - [clang-format] Support namespaces ending in semicolon

2017-03-07 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Tue Mar 7 08:07:43 2017 New Revision: 297140 URL: http://llvm.org/viewvc/llvm-project?rev=297140&view=rev Log: [clang-format] Support namespaces ending in semicolon Summary: This patch adds support for namespaces ending in semicolon to the namespace comment fixer. source:

r297261 - [clang-format] Enable comment reflowing in multiline comments containing pragmas

2017-03-08 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Mar 8 02:55:12 2017 New Revision: 297261 URL: http://llvm.org/viewvc/llvm-project?rev=297261&view=rev Log: [clang-format] Enable comment reflowing in multiline comments containing pragmas Summary: This patch enables comment reflowing of lines not matching the comment p

r297262 - [clang-format] Reformat BreakableToken.h; NFC

2017-03-08 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Mar 8 02:58:44 2017 New Revision: 297262 URL: http://llvm.org/viewvc/llvm-project?rev=297262&view=rev Log: [clang-format] Reformat BreakableToken.h; NFC Modified: cfe/trunk/lib/Format/BreakableToken.h Modified: cfe/trunk/lib/Format/BreakableToken.h URL: http://ll

r297263 - [clang-format] Fix parameter name comment; NFC

2017-03-08 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Mar 8 03:02:39 2017 New Revision: 297263 URL: http://llvm.org/viewvc/llvm-project?rev=297263&view=rev Log: [clang-format] Fix parameter name comment; NFC Modified: cfe/trunk/lib/Format/UnwrappedLineFormatter.cpp Modified: cfe/trunk/lib/Format/UnwrappedLineFormatte

r297265 - [clang-format] Fixed a typo in Format.cpp and a clang-tidy nit about std::function copying; NFC

2017-03-08 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Mar 8 03:13:25 2017 New Revision: 297265 URL: http://llvm.org/viewvc/llvm-project?rev=297265&view=rev Log: [clang-format] Fixed a typo in Format.cpp and a clang-tidy nit about std::function copying; NFC Modified: cfe/trunk/lib/Format/Format.cpp Modified: cfe/trun

r297274 - [clang-format] Look at NoLineBreak and NoLineBreakInOperand before breakProtrudingToken

2017-03-08 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed Mar 8 06:54:50 2017 New Revision: 297274 URL: http://llvm.org/viewvc/llvm-project?rev=297274&view=rev Log: [clang-format] Look at NoLineBreak and NoLineBreakInOperand before breakProtrudingToken Summary: This patch makes ContinuationIndenter call breakProtrudingToken

r297455 - [clang-format] Use a reference in loop variable; NFC

2017-03-10 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Fri Mar 10 07:09:29 2017 New Revision: 297455 URL: http://llvm.org/viewvc/llvm-project?rev=297455&view=rev Log: [clang-format] Use a reference in loop variable; NFC Modified: cfe/trunk/lib/Format/UnwrappedLineParser.cpp Modified: cfe/trunk/lib/Format/UnwrappedLineParse

Re: [PATCH] D29943: [clang-format] Align block comment decorations

2017-03-14 Thread Krasimir Georgiev via cfe-commits
Great! Thank you very much! There are two more major comment features that I added: comment reflowing and automatically adding namespace end comments, and now I know where to put the announcement about them! Cheers, Krasimir On Tue, Mar 14, 2017 at 10:56 AM, Sylvestre Ledru via Phabricator < revi

r297730 - Add more clang-format changes to the 5.0 release notes

2017-03-14 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Tue Mar 14 05:34:39 2017 New Revision: 297730 URL: http://llvm.org/viewvc/llvm-project?rev=297730&view=rev Log: Add more clang-format changes to the 5.0 release notes Modified: cfe/trunk/docs/ReleaseNotes.rst Modified: cfe/trunk/docs/ReleaseNotes.rst URL: http://llvm.

r288125 - Removed DEBUG_TYPE from TokenAnalyzer.h

2016-11-29 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Tue Nov 29 04:21:28 2016 New Revision: 288125 URL: http://llvm.org/viewvc/llvm-project?rev=288125&view=rev Log: Removed DEBUG_TYPE from TokenAnalyzer.h Summary: Defining DEBUG_TYPE in a header file doesn't make sense. It is already defined in the corresponding source file.

r300841 - Delete unused IncompleteFormat variable, NFCi.

2017-04-20 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu Apr 20 08:37:27 2017 New Revision: 300841 URL: http://llvm.org/viewvc/llvm-project?rev=300841&view=rev Log: Delete unused IncompleteFormat variable, NFCi. Modified: cfe/trunk/lib/Index/CommentToXML.cpp Modified: cfe/trunk/lib/Index/CommentToXML.cpp URL: http://llv

r300982 - [clang-format] Clang-tidy cleanup of CleanupTest.cpp, NFC

2017-04-21 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Fri Apr 21 09:21:21 2017 New Revision: 300982 URL: http://llvm.org/viewvc/llvm-project?rev=300982&view=rev Log: [clang-format] Clang-tidy cleanup of CleanupTest.cpp, NFC Modified: cfe/trunk/unittests/Format/CleanupTest.cpp Modified: cfe/trunk/unittests/Format/CleanupTe

r300983 - [clang-format] Clang-tidy cleanup of NamespaceEndCommentFixerTest.cpp, NFC

2017-04-21 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Fri Apr 21 09:30:01 2017 New Revision: 300983 URL: http://llvm.org/viewvc/llvm-project?rev=300983&view=rev Log: [clang-format] Clang-tidy cleanup of NamespaceEndCommentFixerTest.cpp, NFC Modified: cfe/trunk/unittests/Format/NamespaceEndCommentsFixerTest.cpp Modified: c

r300985 - [clang-format] Replace IncompleteFormat by a struct with Line

2017-04-21 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Fri Apr 21 09:35:20 2017 New Revision: 300985 URL: http://llvm.org/viewvc/llvm-project?rev=300985&view=rev Log: [clang-format] Replace IncompleteFormat by a struct with Line Summary: This patch replaces the boolean IncompleteFormat that is used to notify the client if an u

r302236 - [Tooling] Remove redundant check, NFCi

2017-05-05 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Fri May 5 09:07:23 2017 New Revision: 302236 URL: http://llvm.org/viewvc/llvm-project?rev=302236&view=rev Log: [Tooling] Remove redundant check, NFCi Summary: The Database check looks redundant. Reviewers: bkramer Subscribers: klimek, cfe-commits Differential Revision:

r303265 - [Frontend] Remove unused TemporaryFiles

2017-05-17 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Wed May 17 09:51:44 2017 New Revision: 303265 URL: http://llvm.org/viewvc/llvm-project?rev=303265&view=rev Log: [Frontend] Remove unused TemporaryFiles Summary: OnDiskData.TemporaryFiles is filled only by ASTUnit::addTemporaryFile, which is dead. Also these files are used n

r303330 - clang-format: fix prefix for doxygen comments after member

2017-05-18 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu May 18 02:36:21 2017 New Revision: 303330 URL: http://llvm.org/viewvc/llvm-project?rev=303330&view=rev Log: clang-format: fix prefix for doxygen comments after member Summary: Doxygen supports putting documentation blocks after member, by adding an additional < marker i

r303332 - [clang-format] Make NoLineBreakFormatter respect MustBreakBefore

2017-05-18 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu May 18 03:07:52 2017 New Revision: 303332 URL: http://llvm.org/viewvc/llvm-project?rev=303332&view=rev Log: [clang-format] Make NoLineBreakFormatter respect MustBreakBefore Summary: This patch makes NoLineBreakFormatter to insert a break before tokens where MustBreakBef

r303353 - [clang-format] Fix MatchingOpeningBlockLineIndex computation

2017-05-18 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Thu May 18 10:16:24 2017 New Revision: 303353 URL: http://llvm.org/viewvc/llvm-project?rev=303353&view=rev Log: [clang-format] Fix MatchingOpeningBlockLineIndex computation Summary: Computed line index must be relative to the current 'parent' node, and thus use CurrentLines

r303415 - [clang-format] Handle trailing comment sections in import statement lines

2017-05-19 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Fri May 19 05:34:57 2017 New Revision: 303415 URL: http://llvm.org/viewvc/llvm-project?rev=303415&view=rev Log: [clang-format] Handle trailing comment sections in import statement lines Summary: This patch updates the handling of multiline trailing comment sections in impor

r303541 - [clang-format] Keep trailing preprocessor line comments separate from the following section comments

2017-05-22 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon May 22 05:07:56 2017 New Revision: 303541 URL: http://llvm.org/viewvc/llvm-project?rev=303541&view=rev Log: [clang-format] Keep trailing preprocessor line comments separate from the following section comments Summary: r303415 changed the way a sequence of line comments

[clang-tools-extra] r303547 - [clangd] Switch to incomplete translation units

2017-05-22 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Mon May 22 07:49:08 2017 New Revision: 303547 URL: http://llvm.org/viewvc/llvm-project?rev=303547&view=rev Log: [clangd] Switch to incomplete translation units Summary: This speeds up code completion. All the cool kids (ycmd) are doing it. Reviewers: bkramer, ilya-biryukov

r303635 - [Tooling][libclang] Remove unused CompilationDatabase::MappedSources

2017-05-23 Thread Krasimir Georgiev via cfe-commits
Author: krasimir Date: Tue May 23 08:50:43 2017 New Revision: 303635 URL: http://llvm.org/viewvc/llvm-project?rev=303635&view=rev Log: [Tooling][libclang] Remove unused CompilationDatabase::MappedSources Summary: This field is never assigned to and it's only ever read from libclang. This patch re

[clang] [clang-format] js handle anonymous classes (PR #106242)

2024-08-27 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg created https://github.com/llvm/llvm-project/pull/106242 Addresses a regression in JavaScript when formatting anonymous classes. >From 32e94bde5a8ed401a9fb1255d8394c552da82dd7 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Tue, 27 Aug 2024 16:08:07 + S

[clang] [clang-format] js handle anonymous classes (PR #106242)

2024-08-27 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg updated https://github.com/llvm/llvm-project/pull/106242 >From 32e94bde5a8ed401a9fb1255d8394c552da82dd7 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Tue, 27 Aug 2024 16:08:07 + Subject: [PATCH] [clang-format] js handle anonymous classes Addresses a r

[clang] [clang-format] js handle anonymous classes (PR #106242)

2024-08-27 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg ready_for_review https://github.com/llvm/llvm-project/pull/106242 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] js handle anonymous classes (PR #106242)

2024-08-27 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg updated https://github.com/llvm/llvm-project/pull/106242 >From 32e94bde5a8ed401a9fb1255d8394c552da82dd7 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Tue, 27 Aug 2024 16:08:07 + Subject: [PATCH 1/2] [clang-format] js handle anonymous classes Addresses

[clang] [clang-format] js handle anonymous classes (PR #106242)

2024-08-28 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg updated https://github.com/llvm/llvm-project/pull/106242 >From 32e94bde5a8ed401a9fb1255d8394c552da82dd7 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Tue, 27 Aug 2024 16:08:07 + Subject: [PATCH 1/3] [clang-format] js handle anonymous classes Addresses

[clang] [clang-format] js handle anonymous classes (PR #106242)

2024-08-28 Thread Krasimir Georgiev via cfe-commits
@@ -579,6 +579,14 @@ TEST_F(FormatTestJS, GoogScopes) { "});"); } +TEST_F(FormatTestJS, GoogAnonymousClass) { krasimirgg wrote: Thanks! Added one. https://github.com/llvm/llvm-project/pull/106242 ___

[clang] [clang-format] js handle anonymous classes (PR #106242)

2024-08-28 Thread Krasimir Georgiev via cfe-commits
https://github.com/krasimirgg updated https://github.com/llvm/llvm-project/pull/106242 >From 32e94bde5a8ed401a9fb1255d8394c552da82dd7 Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Tue, 27 Aug 2024 16:08:07 + Subject: [PATCH 1/4] [clang-format] js handle anonymous classes Addresses

[clang] [clang-format] Fix a bug in annotating CastRParen (PR #102261)

2024-08-28 Thread Krasimir Georgiev via cfe-commits
krasimirgg wrote: It appears that this introduced a regression in code like this: ``` int d = 0; int c(int i) { return i; } void a() { double b = ((double)c(0)) * d / (double)0; } ``` After this patch, the last line gets formatted as: ``` void a() { double b = ((double)c(0))*d / (double)0; } ```

[clang] [clang-format] Fix a bug in annotating CastRParen (PR #102261)

2024-08-28 Thread Krasimir Georgiev via cfe-commits
krasimirgg wrote: Ohh sorry, I had started with a stale clang-format commit. This is a non-issue at HEAD. https://github.com/llvm/llvm-project/pull/102261 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/

[clang] c9592ae - [clang-format] Fix preprocessor nesting after commit 529aa4b011c4ae808d658022ef643c44dd9b2c9c

2022-02-22 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2022-02-22T15:43:18+01:00 New Revision: c9592ae49b8c486754a745e0c7b1a30b92a12e8b URL: https://github.com/llvm/llvm-project/commit/c9592ae49b8c486754a745e0c7b1a30b92a12e8b DIFF: https://github.com/llvm/llvm-project/commit/c9592ae49b8c486754a745e0c7b1a30b92a12e8b.d

[clang] 5987d7c - [clang-format] fix indent in alignChainedConditionals

2021-04-26 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-04-26T11:06:29+02:00 New Revision: 5987d7c59da5a7611036c2952f5a1f501d17ad48 URL: https://github.com/llvm/llvm-project/commit/5987d7c59da5a7611036c2952f5a1f501d17ad48 DIFF: https://github.com/llvm/llvm-project/commit/5987d7c59da5a7611036c2952f5a1f501d17ad48.d

[clang] 8fa56f7 - [clang-format] Prevent extraneous space insertion in bitshift operators

2021-05-04 Thread Krasimir Georgiev via cfe-commits
Author: Luis Penagos Date: 2021-05-04T12:28:49+02:00 New Revision: 8fa56f7ededcbe28cbbb810b5d261b72ab0d8035 URL: https://github.com/llvm/llvm-project/commit/8fa56f7ededcbe28cbbb810b5d261b72ab0d8035 DIFF: https://github.com/llvm/llvm-project/commit/8fa56f7ededcbe28cbbb810b5d261b72ab0d8035.diff

[clang] d96bf6e - Revert "[clang-format] Adjust braced list detection"

2021-12-19 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-12-19T16:04:42+01:00 New Revision: d96bf6ea461810f7def54541dbcb7ceaecd2d065 URL: https://github.com/llvm/llvm-project/commit/d96bf6ea461810f7def54541dbcb7ceaecd2d065 DIFF: https://github.com/llvm/llvm-project/commit/d96bf6ea461810f7def54541dbcb7ceaecd2d065.d

[clang] 3a3fcd6 - [clang-format] add regression tests for braced lists

2021-12-19 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-12-19T16:07:07+01:00 New Revision: 3a3fcd6a23ad2c0f420a2f6bfde7541233790a30 URL: https://github.com/llvm/llvm-project/commit/3a3fcd6a23ad2c0f420a2f6bfde7541233790a30 DIFF: https://github.com/llvm/llvm-project/commit/3a3fcd6a23ad2c0f420a2f6bfde7541233790a30.d

[clang] 969a51f - Revert "[ASan] Moved optimized callbacks into a separate library."

2021-12-24 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-12-24T12:01:36+01:00 New Revision: 969a51ff363263a3b5f2df55eba6b4d392bf30c0 URL: https://github.com/llvm/llvm-project/commit/969a51ff363263a3b5f2df55eba6b4d392bf30c0 DIFF: https://github.com/llvm/llvm-project/commit/969a51ff363263a3b5f2df55eba6b4d392bf30c0.d

[clang] d9abcdd - [clang-format] Fix ObjC method indent after f7f9f94b

2021-03-25 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-03-25T10:52:08+01:00 New Revision: d9abcdd9f471ab0d986197e94498a5cf90aa12ef URL: https://github.com/llvm/llvm-project/commit/d9abcdd9f471ab0d986197e94498a5cf90aa12ef DIFF: https://github.com/llvm/llvm-project/commit/d9abcdd9f471ab0d986197e94498a5cf90aa12ef.d

[clang] f3671a6 - [clang-format] break after the closing paren of a TypeScript decoration

2021-08-23 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-08-23T15:52:14+02:00 New Revision: f3671a688db2625ef3736ff3603ef7a9fb78610f URL: https://github.com/llvm/llvm-project/commit/f3671a688db2625ef3736ff3603ef7a9fb78610f DIFF: https://github.com/llvm/llvm-project/commit/f3671a688db2625ef3736ff3603ef7a9fb78610f.d

[clang] befb9dc - [clang-format] keep TypeScript argument decorators in line

2021-08-24 Thread Krasimir Georgiev via cfe-commits
Author: Krasimir Georgiev Date: 2021-08-24T12:37:08+02:00 New Revision: befb9dc3694e95355f21650de7acb058ac89f993 URL: https://github.com/llvm/llvm-project/commit/befb9dc3694e95355f21650de7acb058ac89f993 DIFF: https://github.com/llvm/llvm-project/commit/befb9dc3694e95355f21650de7acb058ac89f993.d

[clang] e708808 - [clang-format] Support TypeScript override keyword

2021-08-25 Thread Krasimir Georgiev via cfe-commits
Author: Jan Kuehle Date: 2021-08-25T14:11:50+02:00 New Revision: e708808f875f58344ecaad66d9e6e167ca7ac90a URL: https://github.com/llvm/llvm-project/commit/e708808f875f58344ecaad66d9e6e167ca7ac90a DIFF: https://github.com/llvm/llvm-project/commit/e708808f875f58344ecaad66d9e6e167ca7ac90a.diff LO

<    1   2   3