diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-11-06 06:30:47 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-11-06 06:30:47 +0000 |
commit | d82ae38d53002d1a202c35213e4075f45c895999 (patch) | |
tree | dd322f37ff50b30a728f0c637bd12972e540df33 /llvm/lib/Support/StringRef.cpp | |
parent | 8c12bb8cd7e66fa725457ac579eda4bf9d24ceb6 (diff) | |
download | bcm5719-llvm-d82ae38d53002d1a202c35213e4075f45c895999.tar.gz bcm5719-llvm-d82ae38d53002d1a202c35213e4075f45c895999.zip |
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.
llvm-svn: 86238
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions