forked from OSchip/llvm-project
Summary: Due to a recent (but retroactive) C++ rule change, only sufficiently C-compatible classes are permitted to be given a typedef name for linkage purposes. Add an enabled-by-default warning for these cases, and rephrase our existing error for the case where we encounter the typedef name for linkage after we've already computed and used a wrong linkage in terms of the new rule. Reviewers: rjmccall Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D74103 |
||
|---|---|---|
| .. | ||
| Inputs/expected-plists | ||
| DynDispatchBifurcate.m | ||
| InlineObjCClassMethod.m | ||
| InlineObjCInstanceMethod.h | ||
| InlineObjCInstanceMethod.m | ||
| ObjCDynTypePopagation.m | ||
| ObjCImproperDynamictallyDetectableCast.m | ||
| RetainCountExamples.m | ||
| analysis-order.c | ||
| assume-super-init-does-not-return-nil.m | ||
| containers.cpp | ||
| dyn-dispatch-bifurcate.cpp | ||
| eager-reclamation-path-notes.c | ||
| eager-reclamation-path-notes.cpp | ||
| false-positive-suppression.c | ||
| false-positive-suppression.cpp | ||
| false-positive-suppression.m | ||
| inline-defensive-checks.c | ||
| inline-defensive-checks.cpp | ||
| inline-defensive-checks.m | ||
| path-notes.c | ||
| path-notes.cpp | ||
| path-notes.m | ||
| placement-new-fp-suppression.cpp | ||
| retain-count-self-init.m | ||
| stl.cpp | ||
| temp-dtors-path-notes.cpp | ||
| test-always-inline-size-option.c | ||
| test_objc_inlining_option.m | ||