On Wed, Sep 6, 2017 at 11:22 AM, Philip Douglas via Phabricator via
cfe-commits wrote:
> pdouglas added a comment.
>
> Hi,
>
> This change is not building on Windows, because the Visual C++ compiler
> doesn't support `or` (instead of `||`) by default. (See
> https://msdn.microsoft.com/en-us/libr
pdouglas added a comment.
Hi,
This change is not building on Windows, because the Visual C++ compiler doesn't
support `or` (instead of `||`) by default. (See
https://msdn.microsoft.com/en-us/library/f355wky8.aspx#Operator%20Keyword%20for%20||)
C:\b\slave\clang-x86-windows-msvc2015\clang-x86
This revision was automatically updated to reflect the committed changes.
Closed by commit rL312631: [AST] Traverse templates in
LexicallyOrderedRecursiveASTVisitor (authored by krobelus).
Repository:
rL LLVM
https://reviews.llvm.org/D36998
Files:
cfe/trunk/include/clang/AST/LexicallyOrdere
arphaman accepted this revision.
arphaman added a comment.
This revision is now accepted and ready to land.
LGTM
https://reviews.llvm.org/D36998
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/c
johannes updated this revision to Diff 113581.
johannes added a comment.
undo visibility change
https://reviews.llvm.org/D36998
Files:
include/clang/AST/LexicallyOrderedRecursiveASTVisitor.h
include/clang/AST/RecursiveASTVisitor.h
unittests/Tooling/LexicallyOrderedRecursiveASTVisitorTest.
arphaman added inline comments.
Comment at: include/clang/AST/RecursiveASTVisitor.h:507-508
// Traverses template parameter lists of either a DeclaratorDecl or TagDecl.
template
bool TraverseDeclTemplateParameterLists(T *D);
I don't think you need to
johannes updated this revision to Diff 113546.
johannes added a comment.
fix by adding an option in RecursiveASTVisitor
https://reviews.llvm.org/D36998
Files:
include/clang/AST/LexicallyOrderedRecursiveASTVisitor.h
include/clang/AST/RecursiveASTVisitor.h
unittests/Tooling/LexicallyOrdered
johannes added a comment.
This is currently broken, if a user provides a TraverseClassTemplateDecl, then
the same method in this class will not be called, I think I will add a flag
(probably not user visible) in RecursiveASTVisitor.h to switch the order for
templates
https://reviews.llvm.org/
johannes updated this revision to Diff 112707.
johannes added a comment.
test ordering, class template
https://reviews.llvm.org/D36998
Files:
include/clang/AST/LexicallyOrderedRecursiveASTVisitor.h
include/clang/AST/RecursiveASTVisitor.h
unittests/Tooling/LexicallyOrderedRecursiveASTVisit
arphaman added a comment.
Awesome, thanks!
Comment at: unittests/Tooling/LexicallyOrderedRecursiveASTVisitorTest.cpp:146
+ DummyMatchVisitor Visitor;
+ Visitor.ExpectMatch("/f/T", 2, 11);
+ Visitor.ExpectMatch("/f/f/", 2, 20);
johannes wrote:
> This test als
johannes updated this revision to Diff 112671.
johannes retitled this revision from "[AST] Make
TraverseTemplateParameterListHelper public" to "[AST] Traverse templates in
LexicallyOrderedRecursiveASTVisitor".
johannes edited the summary of this revision.
johannes added a reviewer: arphaman.
joha
johannes added inline comments.
Comment at: unittests/Tooling/LexicallyOrderedRecursiveASTVisitorTest.cpp:146
+ DummyMatchVisitor Visitor;
+ Visitor.ExpectMatch("/f/T", 2, 11);
+ Visitor.ExpectMatch("/f/f/", 2, 20);
This test also works before the change; what
12 matches
Mail list logo