table for a module / PCH, never map from a normal declaration of a class to an injected-class-name declaration (or vice versa). Those declarations live in distinct lookup tables and should not be confused. We really shouldn't be using a CXXRecordDecl to represent an injected-class-name in the first place; I've filed PR27532 so we don't forget. llvm-svn: 267632
9 lines
218 B
C++
9 lines
218 B
C++
#ifndef _GLIBCXX_STRING
|
|
#define _GLIBCXX_STRING
|
|
template<typename> struct basic_string {
|
|
struct _Alloc_hider {} _M_dataplus;
|
|
~basic_string() { _Alloc_hider h; }
|
|
};
|
|
extern template class basic_string<char>;
|
|
#endif
|