================ Comment at: lib/ASTMatchers/Dynamic/Parser.cpp:97-98 @@ +96,4 @@ + size_t TokenLength = 0; + while (TokenLength < Code.size() && isAlphanumeric(Code[TokenLength])) + ++TokenLength; + Result.Kind = TokenInfo::TK_IDENT; ---------------- What if this loop executes 0 times? This should be an error.
http://llvm-reviews.chandlerc.com/D714 BRANCH svn ARCANIST PROJECT clang _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
