Original class was not marked with inheritance attribute and it causes a crash on codegen.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Sema/SemaCast.cpp | ||
---|---|---|
1399–1400 | There is no need for else if here because the previous if uses return to exit the function: http://llvm.org/docs/CodingStandards.html#don-t-use-else-after-a-return | |
lib/Sema/SemaType.cpp | ||
6479 | This change should be unnecessary because getAs already looks through typedefs: http://clang.llvm.org/doxygen/Type_8h_source.html#l05557 |
There is no need for else if here because the previous if uses return to exit the function: http://llvm.org/docs/CodingStandards.html#don-t-use-else-after-a-return