[all-commits] [llvm/llvm-project] df813d: Error.h - GenericBinaryError - pass Twine arg by r...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Jun 27 02:14:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: df813dc09e1bf5260d8f5cce3643ec90c68cd426
      https://github.com/llvm/llvm-project/commit/df813dc09e1bf5260d8f5cce3643ec90c68cd426
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-06-27 (Sat, 27 Jun 2020)

  Changed paths:
    M llvm/include/llvm/Object/Error.h
    M llvm/lib/Object/Error.cpp

  Log Message:
  -----------
  Error.h - GenericBinaryError - pass Twine arg by reference not value.

This allows us to reduce the Twine.h include to a forward declaration.




More information about the All-commits mailing list