We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0713512 commit 625d613Copy full SHA for 625d613
1 file changed
lib/pathmatch.h
@@ -142,7 +142,7 @@ class CPPCHECKLIB PathMatch {
142
**/
143
class PathMatch::PathIterator {
144
public:
145
- /* Create from a pattern and base path */
+ /* Create from a pattern and base path, patterns must begin with '.' to be considered relative */
146
static PathIterator from_pattern(const std::string &pattern, const std::string &basepath, bool icase)
147
{
148
if (!pattern.empty() && pattern[0] == '.')
0 commit comments