rnk added a comment. Oh, you should also set ClassOptions::ContainsNestedClass if the nested type list is non-empty. We should also set ClassOptions::Nested if the scope of a class is a DICompositeType. http://reviews.llvm.org/D21939