[PATCH] D17290: [ELF] - Teach input section wildcard patterns to recognize '?' meta character.

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 23 11:32:47 PST 2016


rafael accepted this revision.
rafael added a comment.
This revision is now accepted and ready to land.

LGTM with a nit. This patch is not changing what '*' does and should not change its description to say it doesn't match 0 characters.


================
Comment at: ELF/LinkerScript.cpp:70
@@ +69,3 @@
+// Returns true if S matches T. S can contain glob meta-characters.
+// The asterisk ('*') matches one or more characacters, and the question
+// mark ('?') matches one character.
----------------
'*' can't really mach 0 characters?


http://reviews.llvm.org/D17290





More information about the llvm-commits mailing list