invalid expr/stmt, etc.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59508
91177308-0d34-0410-b5e6-
96231b3b80d8
// Lex.
class Preprocessor;
class Token;
+ // Basic.
+ class DiagnosticInfo;
/// Action - As the parser reads the input file and recognizes the productions
/// of the grammar, it invokes methods on this class to turn the parsed input
ActionResult(bool Invalid = false) : Val(0), isInvalid(Invalid) {}
template<typename ActualExprTy>
ActionResult(ActualExprTy *val) : Val(val), isInvalid(false) {}
+ ActionResult(const DiagnosticInfo &) : Val(0), isInvalid(true) {}
const ActionResult &operator=(void *RHS) {
Val = RHS;