Second half of r91023, saving files is good.
llvm-svn: 91024
This commit is contained in:
parent
5701386620
commit
b2434d558d
|
@ -102,22 +102,6 @@ class Parser {
|
|||
/// The "depth" of the template parameters currently being parsed.
|
||||
unsigned TemplateParameterDepth;
|
||||
|
||||
/// \brief RAII object that makes '>' behave either as an operator
|
||||
/// or as the closing angle bracket for a template argument list.
|
||||
struct GreaterThanIsOperatorScope {
|
||||
bool &GreaterThanIsOperator;
|
||||
bool OldGreaterThanIsOperator;
|
||||
|
||||
GreaterThanIsOperatorScope(bool >IO, bool Val)
|
||||
: GreaterThanIsOperator(GTIO), OldGreaterThanIsOperator(GTIO) {
|
||||
GreaterThanIsOperator = Val;
|
||||
}
|
||||
|
||||
~GreaterThanIsOperatorScope() {
|
||||
GreaterThanIsOperator = OldGreaterThanIsOperator;
|
||||
}
|
||||
};
|
||||
|
||||
public:
|
||||
Parser(Preprocessor &PP, Action &Actions);
|
||||
~Parser();
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "clang/Parse/DeclSpec.h"
|
||||
#include "clang/Parse/Scope.h"
|
||||
#include "clang/Parse/Template.h"
|
||||
#include "RAIIObjectsForParser.h"
|
||||
using namespace clang;
|
||||
|
||||
/// \brief Parse a template declaration, explicit instantiation, or
|
||||
|
|
Loading…
Reference in New Issue