File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,6 +119,8 @@ Checks: >
119119 -readability-use-concise-preprocessor-directives,
120120 -readability-math-missing-parentheses,
121121 -readability-enum-initial-value
122+ -modernize-use-scoped-lock
123+ -readability-redundant-parentheses
122124
123125# Turn all the warnings from the checks above into errors.
124126WarningsAsErrors : " *"
Original file line number Diff line number Diff line change @@ -21,8 +21,10 @@ source module ci/cloudbuild/builds/lib/bazel.sh
2121source module ci/cloudbuild/builds/lib/cloudcxxrc.sh
2222source module ci/cloudbuild/builds/lib/integration.sh
2323
24- export CC=gcc
25- export CXX=g++
24+ # export CC=gcc
25+ # export CXX=g++
26+ export CC=clang
27+ export CXX=clang++
2628
2729# Explicitly list the patterns that match hand-crafted code. Excluding the
2830# generated code results in a longer list and more maintenance.
Original file line number Diff line number Diff line change @@ -21,25 +21,24 @@ namespace cloud {
2121namespace bigtable {
2222GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
2323
24- using ::google::cloud::bigtable_internal::MergeOptions;
2524using ::google::cloud::internal::OptionsSpan;
2625
2726StatusOr<PreparedQuery> Client::PrepareQuery (InstanceResource const & instance,
2827 SqlStatement const & statement,
2928 Options opts) {
30- OptionsSpan span (MergeOptions (std::move (opts), opts_));
29+ OptionsSpan span (bigtable_internal:: MergeOptions (std::move (opts), opts_));
3130 return conn_->PrepareQuery ({instance, statement});
3231}
3332
3433future<StatusOr<PreparedQuery>> Client::AsyncPrepareQuery (
3534 InstanceResource const & instance, SqlStatement const & statement,
3635 Options opts) {
37- OptionsSpan span (MergeOptions (std::move (opts), opts_));
36+ OptionsSpan span (bigtable_internal:: MergeOptions (std::move (opts), opts_));
3837 return conn_->AsyncPrepareQuery ({instance, statement});
3938}
4039
4140RowStream Client::ExecuteQuery (BoundQuery&& bound_query, Options opts) {
42- OptionsSpan span (MergeOptions (std::move (opts), opts_));
41+ OptionsSpan span (bigtable_internal:: MergeOptions (std::move (opts), opts_));
4342 return conn_->ExecuteQuery ({std::move (bound_query)});
4443}
4544
You can’t perform that action at this time.
0 commit comments