[all-commits] [llvm/llvm-project] 7f0ea5: [MCA] CodeEmitter.h - remove unused <string> inclu...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Apr 19 04:56:35 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f0ea5c8b6e81949b06abebf65b9bd5a3a78d36b
      https://github.com/llvm/llvm-project/commit/7f0ea5c8b6e81949b06abebf65b9bd5a3a78d36b
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-04-19 (Mon, 19 Apr 2021)

  Changed paths:
    M llvm/include/llvm/MCA/CodeEmitter.h

  Log Message:
  -----------
  [MCA] CodeEmitter.h - remove unused <string> include. NFCI.

Add explicit SmallString.h include - which is used in the header


  Commit: 907d4e754e3180b2ce2bb56ab6aefaac11338ced
      https://github.com/llvm/llvm-project/commit/907d4e754e3180b2ce2bb56ab6aefaac11338ced
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-04-19 (Mon, 19 Apr 2021)

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/Analysis.cpp

  Log Message:
  -----------
  [llvm-exegesis] Analysis.cpp - use for-range loop. NFCI.


  Commit: 228207fe94ff0dd514d90f594db6a0a057f2a7ae
      https://github.com/llvm/llvm-project/commit/228207fe94ff0dd514d90f594db6a0a057f2a7ae
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-04-19 (Mon, 19 Apr 2021)

  Changed paths:
    M llvm/include/llvm/IR/GlobalObject.h

  Log Message:
  -----------
  [IR] GlobalObject.h - remove unused <string> include. NFCI.

All string usage is hidden behind StringRefs - so we don't need an explicit <string> include.


Compare: https://github.com/llvm/llvm-project/compare/485e561f8d53...228207fe94ff


More information about the All-commits mailing list