[PATCH] D48341: [clang-doc] Refactoring mapper to map by scope

Julie Hockett via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 17 15:51:26 PDT 2018


juliehockett added a comment.

ping



================
Comment at: clang-tools-extra/test/clang-doc/yaml-comments.cpp:30
+// CHECK: ---  
+// CHECK-NEXT: USR:             '{{[0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z][0-9A-Z]}}'
+// CHECK-NEXT: ChildFunctions:  
----------------
ioeric wrote:
> Hmm, is this the same as `[0-9A-Z]{n}` ?
Yes, in most regex worlds, but it doesn't work in FileCheck regex (complains about unbalanced braces).


https://reviews.llvm.org/D48341





More information about the cfe-commits mailing list