[llvm] fc15fc5 - [Orc] Remove a redundant declaration (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 26 01:01:52 PST 2021


Author: Kazu Hirata
Date: 2021-12-26T01:01:38-08:00
New Revision: fc15fc57e61590998984a08f3fc47145d0ef7521

URL: https://github.com/llvm/llvm-project/commit/fc15fc57e61590998984a08f3fc47145d0ef7521
DIFF: https://github.com/llvm/llvm-project/commit/fc15fc57e61590998984a08f3fc47145d0ef7521.diff

LOG: [Orc] Remove a redundant declaration (NFC)

DebugUtils.h contains an identical declaration with a correct comment,
namely:

  /// Render a LookupKind.
  raw_ostream &operator<<(raw_ostream &OS, const LookupKind &K);

Identified with readability-redundant-declaration.

Added: 
    

Modified: 
    llvm/include/llvm/ExecutionEngine/Orc/DebugUtils.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ExecutionEngine/Orc/DebugUtils.h b/llvm/include/llvm/ExecutionEngine/Orc/DebugUtils.h
index 4b4472e0ac4db..7eb98dfc741e1 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/DebugUtils.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/DebugUtils.h
@@ -73,9 +73,6 @@ raw_ostream &operator<<(raw_ostream &OS,
 /// Rendar a SymbolLookupFlags instance.
 raw_ostream &operator<<(raw_ostream &OS, const SymbolLookupFlags &LookupFlags);
 
-/// Render a JITDylibLookupFlags instance.
-raw_ostream &operator<<(raw_ostream &OS, const LookupKind &K);
-
 /// Render a SymbolLookupSet entry.
 raw_ostream &operator<<(raw_ostream &OS, const SymbolLookupSet::value_type &KV);
 


        


More information about the llvm-commits mailing list