Aaron Gokaslan
|
af6218ff78
|
fix(clang-tidy): Apply performance fixes from clang-tidy (#3046)
* Apply performance fixes from clang-tidy
* 2nd Round of Perf Optimizations
* 3rd round of fixes & handle false-positive
* Apply missing fix and clang-format
* Apply reviewer comment
|
2021-06-19 10:53:27 -07:00 |
|
Henry Schreiner
|
e7bafc8ec1
|
style: clang-tidy: default checks and fix bug in iostream deconstruction
```
/pybind11/include/pybind11/iostream.h:71:9: warning: Call to virtual method 'pythonbuf::sync' during destruction bypasses virtual dispatch [clang-analyzer-optin.cplusplus.VirtualCall]
sync();
^
/pybind11/tests/test_iostream.cpp:72:5: note: Calling '~scoped_ostream_redirect'
});
```
|
2020-09-15 09:56:59 -04:00 |
|
Henry Schreiner
|
4d78640830
|
style: clang-tidy: modernize-use-emplace
|
2020-09-15 09:56:59 -04:00 |
|
Henry Schreiner
|
ce88e940ce
|
style: clang-tidy: modernize-use-auto
|
2020-09-15 09:56:59 -04:00 |
|
Henry Schreiner
|
b491b465c7
|
style: clang-tidy: modernize-use-equals-default
|
2020-09-15 09:56:59 -04:00 |
|
Henry Schreiner
|
b342c37388
|
style: clang-tidy: modernize-use-using
|
2020-09-15 09:56:59 -04:00 |
|
Henry Schreiner
|
96e6a8d554
|
style: clang-tidy: readability-container-size-empty
|
2020-09-15 09:56:59 -04:00 |
|
Henry Schreiner
|
5dfbe6f903
|
style: clang-tidy: modernize-use-override
|
2020-09-15 09:56:59 -04:00 |
|
Henry Schreiner
|
8dc31c7b29
|
style: clang-tidy: llvm-namespace-comment
|
2020-09-15 09:56:59 -04:00 |
|