[all-commits] [llvm/llvm-project] b4c4de: Hide `#pragma clang` behind ifdef guards to fix MS...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Wed Aug 16 01:54:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4c4de9cf828e1fc931c97a805d94db0fe995cae
      https://github.com/llvm/llvm-project/commit/b4c4de9cf828e1fc931c97a805d94db0fe995cae
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-08-16 (Wed, 16 Aug 2023)

  Changed paths:
    M llvm/unittests/Option/OptionParsingTest.cpp

  Log Message:
  -----------
  Hide `#pragma clang` behind ifdef guards to fix MSVC "unknown pragma 'clang'" warning. NFC.


  Commit: af315097c6d9898df11672ce23fb9418c58d5ff6
      https://github.com/llvm/llvm-project/commit/af315097c6d9898df11672ce23fb9418c58d5ff6
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-08-16 (Wed, 16 Aug 2023)

  Changed paths:
    M llvm/lib/Target/TargetMachine.cpp

  Log Message:
  -----------
  Fix MSVC "not all control paths return a value" warning. NFC.


Compare: https://github.com/llvm/llvm-project/compare/4a6edd5c103f...af315097c6d9


More information about the All-commits mailing list