diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-04-01 23:51:29 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-04-01 23:51:29 +0000 |
commit | a3a835149ed4b183e3b009a1f94a6123779d696b (patch) | |
tree | 4186529d07788a3fb5cb46c22bb4768ed9f5f625 /TODO.txt | |
parent | 78d8a089c8f124ba6f47bb37e2c4a36986f60e23 (diff) |
Add some more code modification hints
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68261 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'TODO.txt')
-rw-r--r-- | TODO.txt | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -60,5 +60,9 @@ page full of results (say, 50 lines of text). Beyond that, (1) the remaining errors are likely to be less interesting, and (2) the poor user has to scroll his terminal to find out where things went wrong. - - +//===---------------------------------------------------------------------===// +More ideas for code modification hints: + - If no member of a given name is found in a class/struct, search through the names of entities that do exist in the class and suggest the closest candidate. e.g., if I write "DS.setTypeSpecType", it would suggest "DS.SetTypeSpecType" (edit distance = 1). + - If a class member is defined out-of-line but isn't in the class declaration (and there are no close matches!), provide the option to add an in-class declaration. + - Fix-it hints for the inclusion of headers when needed for particular features (e.g., <typeinfo> for typeid) + - Change "foo.bar" to "foo->bar" when "foo" is a pointer. |