[all-commits] [llvm/llvm-project] 512767: Add CppCoreGuidelines I.2 "Avoid non-const global ...

Kim Viggedal via All-commits all-commits at lists.llvm.org
Fri Mar 13 07:06:11 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 512767eb3fe9c34c655a480d034147c54f1d4f85
      https://github.com/llvm/llvm-project/commit/512767eb3fe9c34c655a480d034147c54f1d4f85
  Author: Kim Viggedal <kimviggedal at gmail.com>
  Date:   2020-03-13 (Fri, 13 Mar 2020)

  Changed paths:
    A clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.cpp
    A clang-tools-extra/clang-tidy/cppcoreguidelines/AvoidNonConstGlobalVariablesCheck.h
    M clang-tools-extra/clang-tidy/cppcoreguidelines/CMakeLists.txt
    M clang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines-avoid-non-const-global-variables.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-avoid-non-const-global-variables.cpp

  Log Message:
  -----------
  Add CppCoreGuidelines I.2 "Avoid non-const global variables" check

Cpp Core Guideline I.2, a.k.a "Avoid non-const global variables"
For detailed documentation, see:
https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#i2-avoid-non-const-global-variables




More information about the All-commits mailing list