commit | 3f0b5fd3a55baf1e3e768fe981bcc3ad5e209ec1 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Nov 06 06:30:47 2009 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Nov 06 06:30:47 2009 +0000 |
tree | 0a77bb251f5c506471815a437eb9c5d4a0531252 | |
parent | 27591ff4fc64600fd67c5d81899e3efe5ef41a80 [diff] |
Rework the fix-it hint for code like get_origin->x where get_origin is actually a function and the user has forgotten the parentheses. Instead of giving a lame note for the fix-it, give a full-fledge error, early, then build the call expression to try to recover. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86238 91177308-0d34-0410-b5e6-96231b3b80d8