[PATCH] Store paren locations in IfStmt, WhileStmt, SwitchStmt.

Doug Gregor dgregor at apple.com
Wed Oct 1 11:39:36 PDT 2014


In non-macro cases, one can extract the locations of the parentheses using the lexer. Personally, I don't think the benefits of being able to extract the locations of the parentheses efficiently or in the macro cases outweigh the disadvantages of bloating the AST further.

http://reviews.llvm.org/D5528






More information about the cfe-commits mailing list