mirror of
https://github.com/cpp-best-practices/cppbestpractices.git
synced 2025-12-17 03:04:36 +03:00
@@ -108,7 +108,7 @@ You should use as many compilers as you can for your platform(s). Each compiler
|
||||
* `-Wpedantic` warn if non-standard C++ is used
|
||||
* `-Wconversion` warn on type conversions that may lose data
|
||||
* `-Wsign-conversion` warn on sign conversions
|
||||
* `-Wmisleading-indentation` warn if identation implies blocks where blocks do not exist
|
||||
* `-Wmisleading-indentation` warn if indentation implies blocks where blocks do not exist
|
||||
* `-Wduplicated-cond` warn if `if` / `else` chain has duplicated conditions
|
||||
* `-Wduplicated-branches` warn if `if` / `else` branches have duplicated code
|
||||
* `-Wlogical-op` warn about logical operations being used where bitwise were probably wanted
|
||||
|
||||
Reference in New Issue
Block a user