Open Teemperor opened 8 years ago
Current behavior: The following command would start the unix.Malloc checker and is setting the "Foo" option for that checker. The "Foo" option however is not a valid option and is just silently ignored.
clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-config unix.Malloc:Foo=true foo.cpp
The expected behavior would be that the SA warns when an unknown/unused option was specified by the user.
assigned to @tkremenek
Extended Description
Current behavior: The following command would start the unix.Malloc checker and is setting the "Foo" option for that checker. The "Foo" option however is not a valid option and is just silently ignored.
clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-config unix.Malloc:Foo=true foo.cpp
The expected behavior would be that the SA warns when an unknown/unused option was specified by the user.