1. Jul 31, 2021
    • Liuke Gehry's avatar
      [clang-tidy] Fix cppcoreguidelines-init-variables by removing the enum · 4a097efe
      Liuke Gehry authored
      FixIt, and add support for initialization check of scoped enum
      
      In C++, the enumeration is never Integer, and the enumeration condition judgment is added to avoid compiling errors when it is initialized to an integer.
      Add support for initialization check of scope enum.
      
      As the following case show, clang-tidy will give a wrong automatic fix:
      
          enum Color {Red, Green, Blue};
          enum class Gender {Male, Female};
          void func() {
            Color color; // Color color = 0; <--- fix bug
            Gender gender; // <--- no warning
          }
      
      Reviewd By: aaron.ballman, whisperity
      
      Differential Revision: http://reviews.llvm.org/D106431
      4a097efe
    • Asher Mancinelli's avatar
      [flang] Move External IO tests to use GTest · 65436e6b
      Asher Mancinelli authored
      Port external-io test to use GTest. Remove Runtime tests directory.
      Rename RuntimeGTest directory to Runtime.
      
      This is the last in a series of patches which ported tests from the old
      flang/unittests/Runtime test directory to use GTest in a temporary
      unittest directory under flang/unittests/RuntimeGTest. Now that all the
      tests in the old directory have been ported to use GTest, the old
      directory has been removed and the GTest directory has been renamed to
      flang/unittests/Runtime.
      
      Differential Revision: https://reviews.llvm.org/D105315
      Reviewed by: Meinersbur, awarzynski
      65436e6b
    • Markus Böck's avatar
      [mlir] Fully qualify MemoryEffects · 8a7b0dad
      Markus Böck authored
      The effect name is used by tablegen when generating the getEffects method of the SideEffectInterfaces. It is currently unqualified even though the class is contained within the mlir namespace, leading to compiler errors when using namespace mlir; isn't used before including the generated cpp file.
      
      This patch fixes that by simply fully qualifying the class name.
      
      Differential Revision: https://reviews.llvm.org/D107171
      8a7b0dad
    • Paul Robinson's avatar
      XFAIL a test on ppc64 · 9ca905b5
      Paul Robinson authored
      Buildbot failure:
      https://lab.llvm.org/buildbot/#/builders/105/builds/13141
      which provides no details about why it failed, but the only failure
      reports are for ppc64 bots.
      9ca905b5
  2. Jul 30, 2021