Lines Matching refs:assert
130 assert(!isAnnotation() && "Annotation tokens have no length field");
136 assert(!isAnnotation() && "Annotation tokens have no length field");
141 assert(isAnnotation() && "Used AnnotEndLocID on non-annotation token");
145 assert(isAnnotation() && "Used AnnotEndLocID on non-annotation token");
180 assert(isNot(tok::raw_identifier) &&
182 assert(!isAnnotation() &&
193 assert(is(tok::eof));
197 assert(is(tok::eof));
198 assert(!PtrData);
206 assert(is(tok::raw_identifier));
210 assert(is(tok::raw_identifier));
218 assert(isLiteral() && "Cannot get literal data of non-literal");
222 assert(isLiteral() && "Cannot set literal data of non-literal");
227 assert(isAnnotation() && "Used AnnotVal on non-annotation token");
231 assert(isAnnotation() && "Used AnnotVal on non-annotation token");