User Details
- User Since
- Nov 8 2017, 10:41 PM (306 w, 2 d)
Jul 15 2019
Jul 12 2019
Update. Solution is not elegant, because DeclRef->BaseRange somehow has zero length.
Minor update
Add NoBuiltin tests.
Jul 11 2019
Use NoBuiltin
Jul 10 2019
Add negative tests
Jun 29 2019
Jun 28 2019
Update
Add unit tests
Jun 23 2019
Feb 4 2019
Use TargetLibraryInfo::getLibFunc.
Update tests. Apply patch only for pow multiplications. Pow divisions will be considered in different patch.
Feb 2 2019
Jan 31 2019
Jan 30 2019
Update tests.
@spatel @lebedev.ri thank you for review and helping me get through.
Update tests.
Jan 29 2019
Update tests.
Jan 23 2019
LGTM.
I think we need to update docs as well.
Jan 22 2019
Update test.
Move test to separate file.
llvm/test/tools/llvm-symbolizer/ and llvm/test/DebugInfo/llvm-symbolizer* pass successfully.
Jan 21 2019
Ping.
Update tests.
@jhenderson thanks a lot for review and remarks. That is very valuable.
Jan 20 2019
Used clang-format -style='{ReflowComments: true}'.
Jan 18 2019
Update tests.
Jan 17 2019
Update tests.
Update tests. Add logic. Honestly, I'm not good at writing llvm-symbolizer test, so I picked test that would fail if --demangle=true to test --demangle, --no-demangle order.
That doesn't mean I want to merge this patch as is. If more specific tests are needed I would be happy to dive into.
Jan 16 2019
I'm not sure how do I handle situation when -demange and -no-demangle appear in one command. I mean what precedence to use.
Jan 15 2019
Update tests
Patch is not yet fixed.
Jan 14 2019
For now I just updated tests. The problem is in BaseRange definition, as it holds EndLoc and BeginLoc pointing to the beginning of ArrayExpression base https://github.com/llvm-mirror/clang-tools-extra/blob/e0441f6939da38f26bea9c1d75bb33024daa4e40/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp#L78. I'm investigating this.
Add test
Jan 13 2019
Update tests. Handle length.
Jan 12 2019
For now, I just added tests. I have several questions, as I'm beginner (ContainerSizeEmptyCheck.cpp).
- Do I have to extend ValidContainer, so it recognises ::std::string with length() method as valid container too or we can assume ::std::string as valid container by default?
- If ::std::string is valid container, I just add one more expression to match. Is it correct way?
Jan 11 2019
I cannot have DIA SDK on my computer. As I see @jhenderson you have a Windows computer. Could you please write if tests are correct and in the right place. If there is a way to test it without DIA SDK any advice would be helpful.
Update tests
Jan 10 2019
FileCheck --check-prefix --> FileCheck -check-prefix
Add cl::NotHidden option
Jul 17 2018
Check if call isNoBuiltin
Mar 17 2018
Ping
Ping
Feb 23 2018
Up. I guess it still needs to be merged as it introduces pattern matching for LibFuncs that would be quite usefull.