[all-commits] [llvm/llvm-project] 9277ce: [DebugInfo] Remove unnecessary <string> include de...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Jul 17 08:59:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9277ce79328cb607656a08097559ff22447f2e70
      https://github.com/llvm/llvm-project/commit/9277ce79328cb607656a08097559ff22447f2e70
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-07-17 (Sat, 17 Jul 2021)

  Changed paths:
    M llvm/include/llvm/DebugInfo/CodeView/CodeViewError.h
    M llvm/include/llvm/DebugInfo/GSYM/GsymCreator.h
    M llvm/include/llvm/DebugInfo/GSYM/GsymReader.h
    M llvm/include/llvm/DebugInfo/MSF/MSFError.h
    M llvm/lib/DebugInfo/CodeView/CodeViewError.cpp
    M llvm/lib/DebugInfo/MSF/MSFError.cpp

  Log Message:
  -----------
  [DebugInfo] Remove unnecessary <string> include dependency from DebugInfo headers. NFC.

At most these use the StringRef/Twine wrappers and don't have any implicit uses of std::string.

Move the include down to any cpp implementation where std::string is actually used.




More information about the All-commits mailing list