new warning

CodeGenTypes.cpp: In member function 'const llvm::Type* clang::CodeGen::CodeGenTypes::ConvertNewType(clang::QualType)':
CodeGenTypes.cpp:176: warning: enumeration value 'MemberPointer' not handled in switch

:slight_smile:

Mike Stump wrote:

CodeGenTypes.cpp: In member function 'const llvm::Type*
clang::CodeGen::CodeGenTypes::ConvertNewType(clang::QualType)':
CodeGenTypes.cpp:176: warning: enumeration value 'MemberPointer' not
handled in switch
  

So either someone who knows CodeGen teaches it to deal with member
pointers, or I'll have to learn CodeGen.

Sebastian

Oh, I'd just put it in the switch statement as a new case, and put a fixme, sorry style diagnostic on it for now. I'd rather have you make progress on the things you like to do, more progress that way.

Definitely. Plus, C++ codegen currently has so many holes in it that nobody could notice that member pointers are missing :slight_smile:

  - Doug