| commit | a923fb2b3b009ff7a6c516f54c401c5fb533bc0c | [log] [tgz] |
|---|---|---|
| author | Chandler Carruth <chandlerc@gmail.com> | Sun May 29 07:32:14 2011 +0000 |
| committer | Chandler Carruth <chandlerc@gmail.com> | Sun May 29 07:32:14 2011 +0000 |
| tree | 353b8be41758b1713cb1abd5556c06118abf901c | |
| parent | b025724b46650db199da9d1c6bd6ff1ba536c54b [diff] |
Fix a regression in the source locations for unary trait expressions. I tried to use an assert to prove that I could remove each of the arguments I did, but ended up writing my assert with inverted logic. Doh! Reported by Xi Wang on cfe-dev. I have manually verified the source locations and ranges for these using -ast-dump. I tried writing a test case that would catch these, but these expressions aren't exposed in the c-index-test's token annotation utility. llvm-svn: 132284