[all-commits] [llvm/llvm-project] 25784c: Fix compile error in UnresolvedSetTest.cpp, again

john-brawn-arm via All-commits all-commits at lists.llvm.org
Wed Jul 5 09:55:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25784cd6a962ac59e7bde07761fc3ba450da6628
      https://github.com/llvm/llvm-project/commit/25784cd6a962ac59e7bde07761fc3ba450da6628
  Author: John Brawn <john.brawn at arm.com>
  Date:   2023-07-05 (Wed, 05 Jul 2023)

  Changed paths:
    M clang/unittests/AST/UnresolvedSetTest.cpp

  Log Message:
  -----------
  Fix compile error in UnresolvedSetTest.cpp, again

My previous fix used a gcc-style attribute, but not all compilers will accept
that. Instead use [[maybe_unused]], which is what we use elsewhere for this
kind of thing.




More information about the All-commits mailing list