|
FLANG
|
Optimization remark with an optional regular expression pattern. More...
#include <flang/Frontend/CodeGenOptions.h>
Public Member Functions | |
| OptRemark ()=default | |
| By default, optimization remark is missing. | |
| bool | hasValidPattern () const |
| bool | patternMatches (llvm::StringRef string) const |
| Matches the given string against the regex, if there is some. | |
Public Attributes | |
| RemarkKind | Kind = RemarkKind::RK_Missing |
| std::string | Pattern |
| std::shared_ptr< llvm::Regex > | Regex |
Optimization remark with an optional regular expression pattern.
|
inline |
Returns true iff the optimization remark holds a valid regular expression.