Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: tools/gn/label_pattern.h

Issue 937003002: Enhance GN introspection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/gn/label_pattern.h
diff --git a/tools/gn/label_pattern.h b/tools/gn/label_pattern.h
index e805ffb62ef60dc82419f4baf6dbd9528ed6923b..5c032603ee8d90d5edf79972c9c3210bca087478 100644
--- a/tools/gn/label_pattern.h
+++ b/tools/gn/label_pattern.h
@@ -39,6 +39,9 @@ class LabelPattern {
const Value& value,
Err* err);
+ // Returns true if the given input string might match more than one thing.
+ static bool HasWildcard(const std::string& str);
+
// Returns true if this pattern matches the given label.
bool Matches(const Label& label) const;
« tools/gn/commands.cc ('K') | « tools/gn/commands.cc ('k') | tools/gn/label_pattern.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698