0
Files
src/pdf/draw_utils
Daniel Hosseinian e257d96e08 [cleanup] Wrap comment variable names with backticks in //pdf/
The Chromium C++ Dos and Don'ts [1] was changed to encourage wrapping
variable names in comments with backticks (`) instead of pipes (|).

Update all comments in the //pdf/ directory so a consistent style is
used.

The update was performed automagically with the following command:

grep -rl '|' --include \*.h --include \*.cc pdf/ | \
  xargs perl -i -pe 's/(?<=\W)\||\|(?=\W)/`/g if /^\s*\/\//;'

The above command assumes that the comments of interest only start with
"//" and are not wrapped in "/*...*/".

[1] 463a912f0a/styleguide/c++/c++-dos-and-donts.md (comment-style)

Change-Id: Iefcdb3136345ab3eaa14d751b5004373129739cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2848376
Commit-Queue: Daniel Hosseinian <dhoss@chromium.org>
Auto-Submit: Daniel Hosseinian <dhoss@chromium.org>
Reviewed-by: K. Moon <kmoon@chromium.org>
Cr-Commit-Position: refs/heads/master@{#875851}
2021-04-23 21:18:35 +00:00
..