r309738 - [clang-diff] Renames, NFC

2017-08-01 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Tue Aug 1 13:17:46 2017 New Revision: 309738 URL: http://llvm.org/viewvc/llvm-project?rev=309738=rev Log: [clang-diff] Renames, NFC Modified: cfe/trunk/include/clang/Tooling/ASTDiff/ASTDiff.h cfe/trunk/lib/Tooling/ASTDiff/ASTDiff.cpp Modified:

r309737 - [clang-diff] Move data declarations to the public header

2017-08-01 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Tue Aug 1 13:17:40 2017 New Revision: 309737 URL: http://llvm.org/viewvc/llvm-project?rev=309737=rev Log: [clang-diff] Move data declarations to the public header Modified: cfe/trunk/include/clang/Tooling/ASTDiff/ASTDiff.h

r309276 - [clang-diff] Rename, NFC

2017-07-27 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Thu Jul 27 08:04:44 2017 New Revision: 309276 URL: http://llvm.org/viewvc/llvm-project?rev=309276=rev Log: [clang-diff] Rename, NFC Modified: cfe/trunk/tools/clang-diff/ClangDiff.cpp Modified: cfe/trunk/tools/clang-diff/ClangDiff.cpp URL:

r311200 - [clang-diff] Move printing of matches and changes to clang-diff

2017-08-18 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Fri Aug 18 14:26:34 2017 New Revision: 311200 URL: http://llvm.org/viewvc/llvm-project?rev=311200=rev Log: [clang-diff] Move printing of matches and changes to clang-diff Summary: This also changes the output order of the changes. Now the matches are printed in pre-order,

r311199 - [clang-diff] Move the JSON export function to clang-diff

2017-08-18 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Fri Aug 18 14:26:13 2017 New Revision: 311199 URL: http://llvm.org/viewvc/llvm-project?rev=311199=rev Log: [clang-diff] Move the JSON export function to clang-diff Reviewers: arphaman Subscribers: klimek Differential Revision: https://reviews.llvm.org/D36178 Added:

r311222 - Revert "Revert "[clang-diff] Move printing of matches and changes to clang-diff""

2017-08-18 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Fri Aug 18 19:56:35 2017 New Revision: 311222 URL: http://llvm.org/viewvc/llvm-project?rev=311222=rev Log: Revert "Revert "[clang-diff] Move printing of matches and changes to clang-diff"" Fix build by renaming ChangeKind -> Change This reverts commit

r311220 - [clang-diff] Fix test for python 3

2017-08-18 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Fri Aug 18 18:34:24 2017 New Revision: 311220 URL: http://llvm.org/viewvc/llvm-project?rev=311220=rev Log: [clang-diff] Fix test for python 3 Modified: cfe/trunk/test/Tooling/clang-diff-json.cpp Modified: cfe/trunk/test/Tooling/clang-diff-json.cpp URL:

r311216 - Revert "Revert "[clang-diff] Move the JSON export function to clang-diff""

2017-08-18 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Fri Aug 18 17:57:38 2017 New Revision: 311216 URL: http://llvm.org/viewvc/llvm-project?rev=311216=rev Log: Revert "Revert "[clang-diff] Move the JSON export function to clang-diff"" This reverts commit eac4c13ac9ea8f12bc049e040c7b9c8a517f54e7, the original commit *should*

r311233 - [clang-diff] Fix test

2017-08-19 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Sat Aug 19 03:05:24 2017 New Revision: 311233 URL: http://llvm.org/viewvc/llvm-project?rev=311233=rev Log: [clang-diff] Fix test Modified: cfe/trunk/test/Tooling/clang-diff-ast.cpp Modified: cfe/trunk/test/Tooling/clang-diff-ast.cpp URL:

r311237 - [clang-diff] Make printing of matches optional

2017-08-19 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Sat Aug 19 05:04:04 2017 New Revision: 311237 URL: http://llvm.org/viewvc/llvm-project?rev=311237=rev Log: [clang-diff] Make printing of matches optional Reviewers: arphaman Subscribers: klimek Differential Revision: https://reviews.llvm.org/D36181 Modified:

r311241 - [clang-diff] Add HTML side-by-side diff output

2017-08-19 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Sat Aug 19 08:40:45 2017 New Revision: 311241 URL: http://llvm.org/viewvc/llvm-project?rev=311241=rev Log: [clang-diff] Add HTML side-by-side diff output Reviewers: arphaman Subscribers: mgorny Differential Revision: https://reviews.llvm.org/D36182 Added:

r311292 - [clang-diff] Improve and test getNodeValue

2017-08-20 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Sun Aug 20 09:18:43 2017 New Revision: 311292 URL: http://llvm.org/viewvc/llvm-project?rev=311292=rev Log: [clang-diff] Improve and test getNodeValue Summary: Use qualified names if available. Reviewers: arphaman Subscribers: klimek Differential Revision:

r311301 - Allow thiscall attribute in test/Tooling/clang-diff-ast.cpp

2017-08-20 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Sun Aug 20 13:13:33 2017 New Revision: 311301 URL: http://llvm.org/viewvc/llvm-project?rev=311301=rev Log: Allow thiscall attribute in test/Tooling/clang-diff-ast.cpp Modified: cfe/trunk/test/Tooling/clang-diff-ast.cpp Modified:

r311170 - [CommonOptionsParser] Expose ArgumentsAdjustingCompilationDatabase

2017-08-20 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Fri Aug 18 09:21:08 2017 New Revision: 311170 URL: http://llvm.org/viewvc/llvm-project?rev=311170=rev Log: [CommonOptionsParser] Expose ArgumentsAdjustingCompilationDatabase This is useful for tools such as clang-diff which do not use CommonOptionsParser due to the need

r311544 - Fix typos, remove unused private members of CommonOptionsParser, NFC

2017-08-23 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Wed Aug 23 03:43:26 2017 New Revision: 311544 URL: http://llvm.org/viewvc/llvm-project?rev=311544=rev Log: Fix typos, remove unused private members of CommonOptionsParser, NFC Modified: cfe/trunk/include/clang/AST/RecursiveASTVisitor.h

Re: r312633 - [AST] Traverse CXXOperatorCallExpr in LexicallyOrderedRecursiveASTVisitor

2017-09-09 Thread Johannes Altmanninger via cfe-commits
es some code duplication, but let's see, if we merge all the changes into RecursiveASTVisitor, then the tests will naturally follow. https://reviews.llvm.org/D37662 https://reviews.llvm.org/D37663 > > On 6 September 2017 at 06:12, Johannes Altmanninger via cfe-commits < > cfe-commits@lists.ll

r312911 - [AST] Make RecursiveASTVisitor visit TemplateDecls in source order

2017-09-11 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Mon Sep 11 06:12:30 2017 New Revision: 312911 URL: http://llvm.org/viewvc/llvm-project?rev=312911=rev Log: [AST] Make RecursiveASTVisitor visit TemplateDecls in source order Summary: This causes template arguments to be traversed before the templated declaration, which is

r312633 - [AST] Traverse CXXOperatorCallExpr in LexicallyOrderedRecursiveASTVisitor

2017-09-06 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Wed Sep 6 06:12:11 2017 New Revision: 312633 URL: http://llvm.org/viewvc/llvm-project?rev=312633=rev Log: [AST] Traverse CXXOperatorCallExpr in LexicallyOrderedRecursiveASTVisitor Summary: This affects overloaded operators, which are represented by a CXXOperatorCallExpr

r312634 - [AST] Add TableGen for StmtDataCollectors

2017-09-06 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Wed Sep 6 06:20:51 2017 New Revision: 312634 URL: http://llvm.org/viewvc/llvm-project?rev=312634=rev Log: [AST] Add TableGen for StmtDataCollectors Summary: This adds an option "-gen-clang-data-collectors" to the Clang TableGen that is used to generate

r312631 - [AST] Traverse templates in LexicallyOrderedRecursiveASTVisitor

2017-09-06 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Wed Sep 6 06:11:13 2017 New Revision: 312631 URL: http://llvm.org/viewvc/llvm-project?rev=312631=rev Log: [AST] Traverse templates in LexicallyOrderedRecursiveASTVisitor Summary: We need to specialize this because RecursiveASTVisitor visits template template parameters

r311569 - [analyzer] Make StmtDataCollector customizable

2017-08-23 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Wed Aug 23 09:28:26 2017 New Revision: 311569 URL: http://llvm.org/viewvc/llvm-project?rev=311569=rev Log: [analyzer] Make StmtDataCollector customizable Summary: This moves the data collection macro calls for Stmt nodes to lib/AST/StmtDataCollectors.inc Users can

r311570 - [clang-diff] HTML diff navigation

2017-08-23 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Wed Aug 23 09:32:13 2017 New Revision: 311570 URL: http://llvm.org/viewvc/llvm-project?rev=311570=rev Log: [clang-diff] HTML diff navigation Summary: This adds shortcuts j and k to jump between changes. It is especially useful in diffs with few changes. Reviewers:

r311571 - [clang-diff] Reformat test, NFC

2017-08-23 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Wed Aug 23 09:32:35 2017 New Revision: 311571 URL: http://llvm.org/viewvc/llvm-project?rev=311571=rev Log: [clang-diff] Reformat test, NFC Modified: cfe/trunk/test/Tooling/clang-diff-html.test Modified: cfe/trunk/test/Tooling/clang-diff-html.test URL:

r311575 - [clang-diff] Properly clear the selection in HTML diff

2017-08-23 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Wed Aug 23 09:52:15 2017 New Revision: 311575 URL: http://llvm.org/viewvc/llvm-project?rev=311575=rev Log: [clang-diff] Properly clear the selection in HTML diff Reviewers: arphaman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D37072

r311433 - [clang-diff] Use the relative name for NamedDecl

2017-08-22 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Tue Aug 22 01:56:26 2017 New Revision: 311433 URL: http://llvm.org/viewvc/llvm-project?rev=311433=rev Log: [clang-diff] Use the relative name for NamedDecl Summary: If a node referring to a name is within a class or namespace, do not use the full qualified name, but strip

r311434 - [clang-diff] Fix getRelativeName

2017-08-22 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Tue Aug 22 01:59:13 2017 New Revision: 311434 URL: http://llvm.org/viewvc/llvm-project?rev=311434=rev Log: [clang-diff] Fix getRelativeName Handle the case when DeclContext is null. Modified: cfe/trunk/lib/Tooling/ASTDiff/ASTDiff.cpp Modified:

r311770 - [clang-diff] Remove NodeCountVisitor, NFC

2017-08-25 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Fri Aug 25 02:49:49 2017 New Revision: 311770 URL: http://llvm.org/viewvc/llvm-project?rev=311770=rev Log: [clang-diff] Remove NodeCountVisitor, NFC Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D37000 Modified:

r311865 - [clang-diff] Treat CXXCtorInitializer as a node

2017-08-27 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Sun Aug 27 15:52:20 2017 New Revision: 311865 URL: http://llvm.org/viewvc/llvm-project?rev=311865=rev Log: [clang-diff] Treat CXXCtorInitializer as a node Reviewers: arphaman Subscribers: cfe-commits, klimek Differential Revision: https://reviews.llvm.org/D37002

r311251 - [clang-diff] Simplify mapping

2017-08-19 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Sat Aug 19 10:53:01 2017 New Revision: 311251 URL: http://llvm.org/viewvc/llvm-project?rev=311251=rev Log: [clang-diff] Simplify mapping Summary: Until we find a decent heuristic on how to choose between multiple identical trees, there is no point in supporting multiple

r311284 - [clang-diff] Fix similarity computation

2017-08-20 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Sun Aug 20 05:09:07 2017 New Revision: 311284 URL: http://llvm.org/viewvc/llvm-project?rev=311284=rev Log: [clang-diff] Fix similarity computation Summary: Add separate tests for the top-down and the bottom-up phase, as well as one for the optimal matching. Reviewers:

r311173 - [clang-diff] Add commandline arguments.

2017-08-18 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Fri Aug 18 09:34:22 2017 New Revision: 311173 URL: http://llvm.org/viewvc/llvm-project?rev=311173=rev Log: [clang-diff] Add commandline arguments. Summary: Support command line options for build path and extra arguments This emulates the options accepted by clang tools

r311172 - [clang-diff] Fix some errors and inconsistencies

2017-08-18 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Fri Aug 18 09:34:15 2017 New Revision: 311172 URL: http://llvm.org/viewvc/llvm-project?rev=311172=rev Log: [clang-diff] Fix some errors and inconsistencies Fix to the computation of the rightmost descendant. Prevents root nodes from being mapped if they are already

r311280 - [clang-diff] Filter AST nodes

2017-08-20 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Sun Aug 20 03:22:32 2017 New Revision: 311280 URL: http://llvm.org/viewvc/llvm-project?rev=311280=rev Log: [clang-diff] Filter AST nodes Summary: Ignore macros and implicit AST nodes, as well as anything outside of the main source file. Reviewers: arphaman Subscribers:

r317434 - [clang-diff] NFC: format

2017-11-05 Thread Johannes Altmanninger via cfe-commits
Author: krobelus Date: Sun Nov 5 03:53:18 2017 New Revision: 317434 URL: http://llvm.org/viewvc/llvm-project?rev=317434=rev Log: [clang-diff] NFC: format Modified: cfe/trunk/tools/clang-diff/ClangDiff.cpp Modified: cfe/trunk/tools/clang-diff/ClangDiff.cpp URL:

[clang] 1ac700c - [CodeGen] Fix clang crash on aggregate initialization of array of labels

2019-11-27 Thread Johannes Altmanninger via cfe-commits
Author: Johannes Altmanninger Date: 2019-11-28T00:59:25+01:00 New Revision: 1ac700cdef787383ad49a0e37d9894491ef19480 URL: https://github.com/llvm/llvm-project/commit/1ac700cdef787383ad49a0e37d9894491ef19480 DIFF:

[clang] e80748f - [clang-diff] Fix assertion error when dealing with wide strings

2022-06-07 Thread Johannes Altmanninger via cfe-commits
Author: Kaining Zhong Date: 2022-06-07T20:24:34+02:00 New Revision: e80748ff8840a10bd7c7336eb5e98664480ba1ba URL: https://github.com/llvm/llvm-project/commit/e80748ff8840a10bd7c7336eb5e98664480ba1ba DIFF: https://github.com/llvm/llvm-project/commit/e80748ff8840a10bd7c7336eb5e98664480ba1ba.diff