https://bugs.llvm.org/show_bug.cgi?id=50527

            Bug ID: 50527
           Summary: llvm/ADT/DenseMapInfo.h isn't layered right
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Support Libraries
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

DenseMapInfo.h is an uber header for defining the densemap hashing templates,
including pointers and strings and is included by a ton of stuff.  It is pulled
in by DenseMap.h as well as tons of other stuff.

The problem is that it pulls in both APSInt.h and APInt.h in order to implement
their DenseMapInfo specializations.  It would be much better to move these
specializations to APInt.h and APSInt.h to avoid having almost everything in
LLVM pull in infrequently used types like APSInt.h.

-Chris

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to