Elliot Glaysher
6c8669edb2
Fix test regression from 9883c51578.
2017-07-28 14:54:33 -07:00
Elliot Glaysher and GitHub
0c1c7f193f
Merge pull request #265 from hammacher/remove-disallow-presubmit-check
...
Remove presubmit check for DISALLOW_* macros
2017-07-26 10:59:27 -07:00
Clemens Hammacher
9883c51578
Remove presubmit check for DISALLOW_* macros
...
Before C++11, we were using a hack to disable copy constructors or copy
assignment by declaring the methods private and not implementing them.
This hack required the respective macros to be placed in the private:
declarations of a class.
The macros have switched to use the C++11 "= delete" syntax some time
ago in both v8 and chromium:
https://codereview.chromium.org/1123723003/
https://codereview.chromium.org/2017213002
Also the comments are now updated, since the macros do not need to be
in the private: declarations any more:
https://chromium-review.googlesource.com/c/577687
https://chromium-review.googlesource.com/c/578027
This change also removes the presubmit check that checked that the
macros are only used in the private declarations.
2017-07-24 12:57:05 +02:00
Elliot Glaysher and GitHub
d75bd35c8f
Merge pull request #261 from jrobinson2/gh-pages
...
Fixed a typo.
2017-06-29 23:25:26 -07:00
James Robinson II
6161e33d8a
Fixed a typo.
2017-06-29 22:16:49 -04:00
Mark Mentovai and GitHub
85799e8cd3
Merge pull request #257 from kwalrath/patch-1
...
Tweak URL for Go style guide
2017-06-22 17:03:13 -04:00
Kathy Walrath and GitHub
2886a3f454
Tweak URL for Go style guide
2017-06-22 14:02:14 -07:00
Mark Mentovai and GitHub
a11ef46100
Merge pull request #256 from kwalrath/patch-1
...
Add Dart style guide
2017-06-22 16:40:51 -04:00
Mark Mentovai and GitHub
470a53f383
Reverse order of [dart] and [go] to match prose
2017-06-22 16:39:56 -04:00
Kathy Walrath and GitHub
bb56ab5026
Change link to Go style guide
2017-06-22 12:30:50 -07:00
Kathy Walrath and GitHub
8aab535ade
Add Dart style guide
...
* Added Go while I was in there. (@rakyll or @adg might have feedback on the link I used)
* Rewrote things a bit to make the new links fit.
* Copy edited a bit because I couldn't help myself.
2017-06-22 11:26:59 -07:00
Elliot Glaysher and GitHub
142b0e64ba
Merge pull request #250 from kirkins/patch-1
...
Fix broken link
2017-05-26 13:14:04 -07:00
Philip Kirkbride and GitHub
e3d0f56bcd
Fix broken link
...
Same guide is also linked on line 1144, but uses correct url (.html)
2017-05-26 15:45:00 -04:00
Stephen Hicks and Stephen Hicks
c212f99186
Update JS style guide
2017-05-08 16:24:00 -07:00
Elliot Glaysher and GitHub
d012c72624
Merge pull request #244 from schoetbi/FixVs7Oput
...
Changed vs7 output format so that Visual Studio can parse the error
2017-05-03 10:15:59 -07:00
schoetbi
819c572b4c
Changed vs7 output format so that Visual Studio can parse the error messages correctly
...
Also Visual Studio can jump to the correct file/linenumber
2017-05-03 10:11:03 +02:00
Elliot Glaysher and GitHub
15f2836d9f
Merge pull request #230 from danakj/gh-pages
...
Teach the explicit constructor check about constexpr.
2017-03-02 10:23:49 -08:00
Dana Jansens
2db65fed51
Add unit tests for constexpr constructors
...
This also adds unit tests for inline+explicit constructors being okay,
with and without constexpr.
2017-03-02 13:20:12 -05:00
Liam Miller-Cushon and Stephen Hicks
594d91bfbb
Update Java style guide
2017-02-28 21:12:14 -08:00
Tony Ruscoe and GitHub
9fe17f92b7
Merge pull request #235 from tonyruscoe/html-css-style-validation
...
Fix HTML validation warnings and make the style guide HTML more compliant.
2017-02-27 09:33:22 +00:00
Tony Ruscoe
ad6dee81e9
Fix HTML validation warnings and make the style guide HTML more compliant.
2017-02-27 08:16:24 +00:00
Tony Ruscoe and GitHub
b726be1588
Merge pull request #233 from tonyruscoe/gh-pages-anchor-and-emphasis
...
Add an anchor for the “Parting Words” section and change the emphasis on “Be consistent.”
2017-02-24 14:43:16 +00:00
Tony Ruscoe
a1773f9b3b
Add an anchor for the “Parting Words” section and change the emphasis on “Be consistent.”
2017-02-24 14:38:42 +00:00
Tony Ruscoe and GitHub
d0960a41c0
Move, update, and convert HTML/CSS Style Guide from XML to HTML. ( #232 )
2017-02-24 12:31:41 +00:00
Dana Jansens
cf4071cf5d
Teach the explicit constructor check about constexpr.
...
If a constructor is marked constexpr it evades the explicit constructor
check right now, since the check only knows about the inline keyword.
Teach it that constexpr can be used also.
2017-02-22 12:02:39 -05:00
Geoff Romer and GitHub
b282a74fea
Merge pull request #210 from roooooooot/patch-1
...
Fix a typo
2017-01-05 10:22:11 -08:00
roooooooot and GitHub
a33bdd6e3a
Fix a typo
...
requre -> require
2016-12-31 13:10:07 +08:00
Dan Beam and Stephen Hicks
159b4c81bb
Restore ES5 styleguide
...
Leave links in README.md and other style guides pointing to ES6.
This is a partial revert of 8f254427d9
2016-12-22 12:06:27 -08:00
Michael Plump and Stephen Hicks
75c289f1d3
Update the IntelliJ style to the latest version from Google.
...
Internally, we use the google-java-format plugin to format our Java
files. It's much more rigorous and ignores the contents of this XML
file. Using that plugin should be the preferred way to make sure your
code conforms to Google's style.
2016-12-22 12:05:18 -08:00
Stephen Hicks and Stephen Hicks
db0a26320f
Update Java and C++ style guides with various changes since the last update.
2016-11-17 18:02:44 -08:00
Stephen Hicks and Stephen Hicks
8f254427d9
Update and replace JavaScript style guide.
...
The new guide is completely rewritten in light of ES2015. The old guide
has been replaced with a link to the new guide.
2016-11-17 18:02:23 -08:00
Elliot Glaysher and GitHub
71ec7f1e52
Merge pull request #187 from google/revert-169-gh-pages
...
Revert "Fix the `cpplint.py` `build/endif_comment` check."
2016-09-30 15:35:21 -07:00
Elliot Glaysher and GitHub
ae11811f81
Revert "Fix the cpplint.py build/endif_comment check."
2016-09-30 15:34:26 -07:00
Elliot Glaysher and GitHub
aa8ccb418c
Merge pull request #184 from LukeCz/stdout
...
Cpplint is unnecessarily polluting stderr
2016-09-29 11:03:52 -07:00
LukeCz
e09f478aa8
Cpplint is unnecessarily polluting stderr
2016-09-28 19:13:37 -05:00
Elliot Glaysher and GitHub
389efa293d
Merge pull request #183 from LukeCz/hpp-headers
...
Configurable header extensions
2016-09-27 10:06:56 -07:00
LukeCz
8920b13221
Changes after review
2016-09-26 19:40:47 -05:00
LukeCz
7197a244ea
Configurable header extensions
...
Fix for #50 , #79 and #113
2016-09-24 13:27:35 -05:00
Elliot Glaysher and GitHub
1342002613
Merge pull request #169 from arames/gh-pages
...
Fix the `cpplint.py` `build/endif_comment` check.
2016-09-21 10:03:30 -07:00
Alexandre Rames and Alexandre Rames
f558944179
Fix the build/endif_comment check.
...
- The check needs to be run before we remove comments, otherwise valid
lines will be found as invalid.
- A single character different from `/` after the spaces is enough to
indicate an error.
- Also catch errors when only one `/` is present.
(For example `#endif / MY_FILE_H`.)
2016-09-21 11:03:34 +01:00
Elliot Glaysher and GitHub
6d3a7d8a22
Merge pull request #159 from lhchavez/cpp11
...
Support C++11 types in build/include_what_you_use
2016-07-13 10:20:40 -07:00
Elliot Glaysher and GitHub
c628808c81
Merge pull request #160 from cushon/update
...
Update to current.
2016-07-13 10:19:51 -07:00
Elliot Glaysher and GitHub
8b263179f2
Merge pull request #158 from lhchavez/iwyu
...
Make build/include_what_you_use more consistent
2016-07-13 10:15:49 -07:00
Liam Miller-Cushon
b075cb7cad
Update to current.
...
This includes changes for Java 8, and simplified import order rules.
2016-07-12 12:08:12 -07:00
lhchavez
2890dffc1f
Support C++11 types in build/include_what_you_use
...
This change adds support for forward, make_pair, make_shared,,
make_unique, move, shared_ptr, unique_ptr, unordered_map,
unordered_multimap, unordered_multiset, unordered_set, weak_ptr.
Closes #133 .
2016-07-11 19:37:29 -07:00
lhchavez
3ae81f1911
Make build/include_what_you_use more consistent
...
`std::string` has some logic to omit the suggestion if it is used in
non-STL namespaces, so the same check should be OK to use for other
types. Closes #157 .
2016-07-11 19:00:34 -07:00
Titus Winters
f15e633de5
Update to current.
...
This notably includes changes for namespace naming and use of auto, as
well as clarification on when comments are necessary and attribute
placement.
2016-07-06 12:12:21 -04:00
Elliot Glaysher and GitHub
01f0f704f7
Merge pull request #129 from gueraf/gh-pages
...
CppLint: Make "root" flag configurable via CPPLINT.cfg
2016-06-30 13:32:23 -07:00
Elliot Glaysher and GitHub
6e4b0aaa64
Merge pull request #135 from xyproto/gh-pages
...
Fix broken link
2016-06-30 13:21:42 -07:00
Elliot Glaysher and GitHub
450aa460ec
Merge pull request #139 from Nazg-Gul/root_windows_fix
...
Fix regex escape issue when using --root on Windows
2016-06-30 13:20:33 -07:00