Commit graph

3 commits

Author SHA1 Message Date
Vyacheslav Egorov d0887dc524 [cpplint] Disable runtime/references lint
Google Style Guide now prefers references to pointers because references
are non-nullable.

See https://google.github.io/styleguide/cppguide.html#Inputs_and_Outputs which now says:

> Non-optional input parameters should usually be values or const references, while non-optional
> output and input/output parameters should usually be references (which cannot be null).

This means runtime/references lint is outdated and can be disabled.

R=kustermann@google.com

Change-Id: Idec650603982387c000671aad7d77727a008f5cd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279388
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Slava Egorov <vegorov@google.com>
2023-01-23 18:21:48 +00:00
Zachary Anderson 630d24bec8 clang-formats remaining files and adds a presubmit check.
R=asiva@google.com, johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2483363002 .
2016-11-09 12:43:57 -08:00
iposva@google.com 55357d2993 - Use the simulator to do atomic operations that could also
be executed in generated code.

R=koda@google.com, zra@google.com

Review URL: https://codereview.chromium.org//677193002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41332 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-27 19:21:33 +00:00