[all-commits] [llvm/llvm-project] b96b93: Use more LLVM_ENABLE_ABI_BREAKING_CHECKS in Error.h

Aaron Puchert via All-commits all-commits at lists.llvm.org
Sat Apr 11 12:17:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b96b9335aea5fc9092cb4ec7df9152ff9b9db3dc
      https://github.com/llvm/llvm-project/commit/b96b9335aea5fc9092cb4ec7df9152ff9b9db3dc
  Author: Aaron Puchert <aaronpuchert at alice-dsl.net>
  Date:   2020-04-11 (Sat, 11 Apr 2020)

  Changed paths:
    M llvm/include/llvm/Support/Error.h

  Log Message:
  -----------
  Use more LLVM_ENABLE_ABI_BREAKING_CHECKS in Error.h

Summary:
If we don't read the flag, we don't need to set it. Then we also don't
need to filter it out to get the pointer.

This should have a (small) positive impact on code size and performance.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D76259




More information about the All-commits mailing list