diff options
author | Vedant Kumar <vsk@apple.com> | 2017-09-08 18:44:48 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2017-09-08 18:44:48 +0000 |
commit | efcf41b528232d81dd62dc3a1585532c75549ccc (patch) | |
tree | 68eaa61104c48ee11c82c7858c23549c333e3b57 /llvm/lib/ProfileData/Coverage | |
parent | bae8397006fcb479bc9bcfe84e826bacbfbe7891 (diff) | |
download | bcm5719-llvm-efcf41b528232d81dd62dc3a1585532c75549ccc.tar.gz bcm5719-llvm-efcf41b528232d81dd62dc3a1585532c75549ccc.zip |
[Coverage] Define LineColPair for convenience. NFC.
llvm-svn: 312815
Diffstat (limited to 'llvm/lib/ProfileData/Coverage')
-rw-r--r-- | llvm/lib/ProfileData/Coverage/CoverageMapping.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp b/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp index d2878d3283a..e8431d70047 100644 --- a/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp +++ b/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp @@ -295,8 +295,7 @@ namespace { /// An instantiation set is a collection of functions that have the same source /// code, ie, template functions specializations. class FunctionInstantiationSetCollector { - using MapT = DenseMap<std::pair<unsigned, unsigned>, - std::vector<const FunctionRecord *>>; + using MapT = DenseMap<LineColPair, std::vector<const FunctionRecord *>>; MapT InstantiatedFunctions; public: |