comparison include/llvm/Support/Regex.h @ 121:803732b1fca8

LLVM 5.0
author kono
date Fri, 27 Oct 2017 17:07:41 +0900
parents 1172e4bd9c6f
children
comparison
equal deleted inserted replaced
120:1172e4bd9c6f 121:803732b1fca8
55 Regex(Regex &&regex); 55 Regex(Regex &&regex);
56 ~Regex(); 56 ~Regex();
57 57
58 /// isValid - returns the error encountered during regex compilation, or 58 /// isValid - returns the error encountered during regex compilation, or
59 /// matching, if any. 59 /// matching, if any.
60 bool isValid(std::string &Error); 60 bool isValid(std::string &Error) const;
61 61
62 /// getNumMatches - In a valid regex, return the number of parenthesized 62 /// getNumMatches - In a valid regex, return the number of parenthesized
63 /// matches it contains. The number filled in by match will include this 63 /// matches it contains. The number filled in by match will include this
64 /// many entries plus one for the whole regex (as element 0). 64 /// many entries plus one for the whole regex (as element 0).
65 unsigned getNumMatches() const; 65 unsigned getNumMatches() const;