Commit Graph
12 Commits
Author SHA1 Message Date
Gil 315effec4a Port FSTQueryListener to C++ (#2618) 2019-03-26 07:11:02 -07:00
Gil 080c64daba Rework the IWYU test to handle types with multiple valid sources (#2633) 2019-03-25 16:38:28 -07:00
Gil 675e74a535 Add missing #include <ostream> (#2616)
* Add a lint check for ostream

* Actaully #include <ostream> to undefined stream insertion operators at link time
2019-03-25 11:12:21 -07:00
Gil 86dc058729 Add a lint check for const references to absl::string_view (#1915)
* Check for const absl::string_view&, which should just be absl::string_view.

* Fix uses of const absl::string_view&
2018-10-05 13:58:43 -07:00
Konstantin Varlamov 4e067e55dd gRPC: use SCNetworkReachability to quickly end connections when reachability changes (#1843)
The reachability state is not (yet) used to determine whether it's possible to reconnect; rather, the its only use is to quickly end any existing connections. The benefit is potentially quicker reaction to network being disconnected than it would take for the connection to time out.
2018-10-01 15:27:11 -04:00
zxu f999fffbb6 fix common typo (#1833) 2018-09-17 13:00:50 -04:00
zxu 098f93c5ed fix import pattern (#1604)
* fix import pattern

* fix style

* move check into cpplint.py

* replace than with rather than
2018-07-31 10:30:49 -04:00
Konstantin Varlamov ff95ffc61b In FSTLocalDocumentsView, search for all batches affecting a set of keys in one go (#1505)
This uses the newly-added allMutationBatchesAffectingDocumentKeys to find/deserialize all such batches in one go and then reuse the batches while processing a set of keys.
2018-07-10 13:59:25 -04:00
Paul Beusterien ede57f84bb Add missing copyright and licenses (#1152) 2018-04-20 11:54:53 -07:00
Gil 0a66187053 Add lint checking for Objective-C++ sources (#1048)
* lint.sh now lints Objective-C++ too

* cpplint checks system-style includes that should be user-style

This prevents it from recognizing project sources as if they were C
system headers and then complaining that they're in the wrong place.

* cpplint checks #imports and #includes

* cpplint checks that C++ system headers aren't #imported

* cpplint checks for C system headers that could be C++ system headers

* cpplint checks that Objective-C sources include their headers
2018-04-09 11:54:39 -07:00
Gil 45e68a352d Clean up usages of std::make_unique that crept in (#996)
* Add std::make_unique rule

* Clean up usages of std::make_unique that crept in

This fails to build under Xcode 8.2
2018-03-29 13:23:41 -07:00
Gil 856c3a09f1 Add the C++ linter to the repo (#720) 2018-01-27 16:13:14 -08:00