commit | f0b60d6a945b907f890e0bbc2aa02b5aa2bc62e3 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Thu Jun 16 01:05:14 2011 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Thu Jun 16 01:05:14 2011 +0000 |
tree | 081d0ef45cc4301b6aed58aac652ccd143d8bc72 | |
parent | 9d4562445decb576249a049f5cdaf04a138bda33 [diff] |
Refactor parentheses suggestion notes to have less code duplication and be more consistent in how parenthesized ranges which hit macros are handled. Also makes the code significantly shorter, and the diagnostics when macros are present a bit more useful. Pair programmed w/ Matthew. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133122 91177308-0d34-0410-b5e6-96231b3b80d8