[all-commits] [llvm/llvm-project] 35f089: [clang-tidy] Remove extra "; " in ModernizeModuleTe...

mikaelholmen via All-commits all-commits at lists.llvm.org
Thu Jun 2 03:50:51 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35f0890c4edce1975b17d0901607f2fba9216462
      https://github.com/llvm/llvm-project/commit/35f0890c4edce1975b17d0901607f2fba9216462
  Author: Mikael Holmen <mikael.holmen at ericsson.com>
  Date:   2022-06-02 (Thu, 02 Jun 2022)

  Changed paths:
    M clang-tools-extra/unittests/clang-tidy/ModernizeModuleTest.cpp

  Log Message:
  -----------
  [clang-tidy] Remove extra ";" in ModernizeModuleTest.cpp

Without this fix we get

../../clang-tools-extra/unittests/clang-tidy/ModernizeModuleTest.cpp:270:2: error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi]
};
 ^
1 error generated.

when compiling with -Werror.




More information about the All-commits mailing list