Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for C11 atomics in and around VisitQualType
This does not help towards the support of C11 atomics, but ensures that the existing error messages about the trouble with them get shown: * In VisitQualType at latest, where the source location information is already gone so it's not that helpful (but at least it should catch a wide range of sources where those types could come from) * In VisitTypedefNameDecl, where the `typedef _Atomic(...) atomic_...;` declarations of clang's stdatomic.h run through. It's but one of many possible callers, but it's the one where one more check can make the difference between a usable and a cryptic error for many cases. Closes: #293
- Loading branch information