ef8225444452a1486bd721f3285301fe84643b00 |
|
21-Jul-2014 |
Stephen Hines <srhines@google.com> |
Update Clang for rebase to r212749. This also fixes a small issue with arm_neon.h not being generated always. Includes a cherry-pick of: r213450 - fixes mac-specific header issue r213126 - removes a default -Bsymbolic on Android Change-Id: I2a790a0f5d3b2aab11de596fc3a74e7cbc99081d
/external/clang/test/SemaCXX/typo-correction-pt2.cpp
|
6bcf27bb9a4b5c3f79cb44c0e4654a6d7619ad89 |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update Clang for 3.5 rebase (r209713). Change-Id: I8c9133b0f8f776dc915f270b60f94962e771bc83
/external/clang/test/SemaCXX/typo-correction-pt2.cpp
|
651f13cea278ec967336033dd032faef0e9fc2ec |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Updated to Clang 3.5a. Change-Id: I8127eb568f674c2e72635b639a3295381fe8af82
/external/clang/test/SemaCXX/typo-correction-pt2.cpp
|
9a5d6bb0c26215adddc5ce00f21d863160cbd0b7 |
|
17-Dec-2013 |
Bill Wendling <isanbard@gmail.com> |
Merging r197409: ------------------------------------------------------------------------ r197409 | rikka | 2013-12-16 11:19:18 -0800 (Mon, 16 Dec 2013) | 4 lines Make Sema::BuildCXXNestedNameSpecifier correctly clear the previous CXXScopeSpec when necessary while performing typo correction. This fixes the crash reported in PR18213 (the problem existed since r185487, and r193020 made it easier to hit). ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_34@197463 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/typo-correction-pt2.cpp
|
b5c7768a74936d4e2c7a484570a638cb74702d8b |
|
19-Oct-2013 |
Kaelyn Uhrain <rikka@google.com> |
Allow CorrectTypo to replace CXXScopeSpecifiers that refer to classes. Now that CorrectTypo knows how to correctly search classes for typo correction candidates, there is no good reason to only replace an existing CXXScopeSpecifier if it refers to a namespace. While the actual enablement was a matter of changing a single comparison, the fallout from enabling the functionality required a lot more code changes (including my two previous commits). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193020 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/typo-correction-pt2.cpp
|
81e34b1c137ffaa9b9c7d488744bdaa0cee8e845 |
|
14-Oct-2013 |
Serge Pavlov <sepavloff@gmail.com> |
Do not use typo correction that is unaccessible. This patch fixes PR17019. When doing typo correction, Sema::CorrectTypo uses correction already seen for the same typo. This causes problems if that correction is from another scope and cannot be accessed in the current. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192594 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/typo-correction-pt2.cpp
|
a89ee579e86912302251dd9b06a472b4531f864f |
|
02-Oct-2013 |
Kaelyn Uhrain <rikka@google.com> |
Fix a typo suggestion regression introduced by r191544. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191798 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/typo-correction-pt2.cpp
|
91d3f338e446e654392184e68f940c77b5c98f39 |
|
01-Oct-2013 |
Eli Friedman <eli.friedman@gmail.com> |
Fix typo correction usage of SemaAccess.cpp. When we check access for lookup results, make sure we propagate the result's access to the access control APIs; this can be different from the natural access of the declaration depending on the path used by the lookup. PR17394. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191726 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/typo-correction-pt2.cpp
|
2ceb67a5345ef711468a32dbf17769828b5fbadd |
|
28-Sep-2013 |
Kaelyn Uhrain <rikka@google.com> |
Don't suggest namespaces if the next token is a '.' git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191589 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/typo-correction-pt2.cpp
|
0f90ee0939ae785f412da07e94afdf8053681b39 |
|
27-Sep-2013 |
Kaelyn Uhrain <rikka@google.com> |
Don't give suggest things like function names on the left side of "=". git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191545 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/typo-correction-pt2.cpp
|
6243f627680fbf7c5bf2f339967d806f47153746 |
|
27-Sep-2013 |
Kaelyn Uhrain <rikka@google.com> |
Avoid the hard-coded limit on the number of typo corrections attempted. Move some tests from typo-correction.cpp to typo-correction-pt2.cpp because they were running afoul of the hard-coded limit of 20 typos corrected. Some of the tests after it were still working due to the limit not applying to cached corrections and in cases where a non-NULL MemberContext is passed in to Sema::CorrectTypo. Most of the moved tests still passed after being moved, but the test involving "data_struct" had only been passing because the test had exceeded that limit so a fix for it is also included (most of the changes to ParseStmt.cpp are shared with and originated from another typo correction impovement that was split into a separate commit). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191544 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/typo-correction-pt2.cpp
|
a934c31d1056429a1e32fbcd198b4c5d0a42d84e |
|
26-Sep-2013 |
Kaelyn Uhrain <rikka@google.com> |
Fix error recovery when a return type correction includes a new name specifier. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191459 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/typo-correction-pt2.cpp
|
3d9559b91c00757b296354cc6ca93e899266c7d2 |
|
26-Sep-2013 |
Kaelyn Uhrain <rikka@google.com> |
Teach typo correction to look inside of classes like it does namespaces. Unlike with namespaces, searching inside of classes requires also checking the access to correction candidates (i.e. don't suggest a correction to a private class member for a correction occurring outside that class and its methods or friends). Included is a small (one line) fix for a bug, that was uncovered while cleaning up the unit tests, where the decls from a TypoCorrection candidate were preserved in new TypoCorrection candidates that are derived (copied) from the old TypoCorrection--notably when creating a new candidate by changing the NestedNameSpecifier associated with the base idenitifer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191449 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/typo-correction-pt2.cpp
|
2d67097ad41f4c2fe82ebce3f587e06498f1bd71 |
|
17-Aug-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Refactor all diagnosing of TypoCorrections through a common function, in preparation for teaching this function how to diagnose a correction that includes importing a module. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188602 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/typo-correction-pt2.cpp
|
89310785fe44470da0c1c1eefa54ad9c6dae8e78 |
|
31-Jul-2013 |
Richard Trieu <rtrieu@google.com> |
Fix a crasher than manifests when typo correction suggests a function template. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187467 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/typo-correction-pt2.cpp
|
6c4898b6ff23950cddca6948ef3fa0dd1848f6f1 |
|
09-Jul-2013 |
Kaelyn Uhrain <rikka@google.com> |
Attempt typo correction for function calls with the wrong number of arguments. Combined with typo correction's new ability to apply global/absolute nested name specifiers to possible corrections, cases such as in PR12287 where the desired function is being shadowed by a lexically closer function with the same name but a different number of parameters will now include a FixIt. On a side note, since the test for this change caused test/SemaCXX/typo-correction.cpp to exceed the typo correction limit for a single file, I've included a test case for exceeding the limit and added some comments to both the original and part two of typo-correction.cpp warning future editors of the files about the limit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185881 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/typo-correction-pt2.cpp
|