Home | History | Annotate | Download | only in Frontend

Lines Matching defs:Directive

80 /// Directive - Abstract class representing a parsed verify directive.
82 class Directive {
84 static Directive* Create(bool RegexKind, const SourceLocation &Location,
94 virtual ~Directive() { }
96 // Returns true if directive text is valid.
104 Directive(const SourceLocation &Location, const std::string &Text,
109 Directive(const Directive&); // DO NOT IMPLEMENT
110 void operator=(const Directive&); // DO NOT IMPLEMENT
113 /// StandardDirective - Directive with string matching.
115 class StandardDirective : public Directive {
119 : Directive(Location, Text, Count) { }
131 /// RegexDirective - Directive with regular-expression matching.
133 class RegexDirective : public Directive {
137 : Directive(Location, Text, Count), Regex(Text) { }
153 typedef std::vector<Directive*> DirectiveList;
155 /// ExpectedData - owns directive objects and deletes on destructor.
241 /// diagnostics. If so, then put them in the appropriate directive list.
270 // default directive kind
289 Count = Directive::OneOrMoreCount;
314 // build directive text; convert \n to newlines
328 // construct new directive
329 Directive *D = Directive::Create(RegexKind, Pos, Text, Count);
405 Directive& D = **I;
430 Directive& D = **I;
552 Directive* Directive::Create(bool RegexKind, const SourceLocation &Location,