[PATCH] D52142: [DebugInfo] Fix build when std::vector::iterator is a pointer

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 17 00:40:06 PDT 2018


hans added a comment.

In https://reviews.llvm.org/D52142#1236117, @orivej wrote:

> Without this, the error (abbreviated) is:
>
>   lib/CodeGen/AsmPrinter/DwarfDebug.cpp: error: 'llvm::MapVector<>::const_iterator' (aka 'const std::pair<> *') is not a class, namespace, or enumeration
>


Do you have an example of a c++ std library where this happens?

> @hans, it would be useful to merge this into LLVM 7.

I've put it on my list, but we're currently not planning another release candidate before final, so it may have to wait for 7.0.1.


Repository:
  rL LLVM

https://reviews.llvm.org/D52142





More information about the llvm-commits mailing list