]> granicus.if.org Git - clang/commit
Refactor parentheses suggestion notes to have less code duplication and
authorChandler Carruth <chandlerc@gmail.com>
Thu, 16 Jun 2011 01:05:14 +0000 (01:05 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Thu, 16 Jun 2011 01:05:14 +0000 (01:05 +0000)
commitf0b60d6a945b907f890e0bbc2aa02b5aa2bc62e3
tree081d0ef45cc4301b6aed58aac652ccd143d8bc72
parent9d4562445decb576249a049f5cdaf04a138bda33
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
lib/Sema/SemaExpr.cpp