[PATCH] D128511: [clang-tidy] Make the cert/uppercase-literal-suffix-integer fully hermetic.

Richard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 1 13:40:12 PDT 2022


LegalizeAdulthood added inline comments.


================
Comment at: clang-tools-extra/test/clang-tidy/checkers/Inputs/Headers/integral_constant.h:1
+#ifndef _INTEGRAL_CONSTANT_H_
+#define _INTEGRAL_CONSTANT_H_
----------------
Identifiers beginning with `_` followed by an uppercase letter are [[ https://en.cppreference.com/w/cpp/language/identifiers | reserved for the implementation ]].

Include guards should never include double underscores or begin with an underscore.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128511/new/

https://reviews.llvm.org/D128511



More information about the cfe-commits mailing list