Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [CodeComplete] Add a few extra tests for r333538. NFC | Ilya Biryukov | 2018-06-01 | 1 | -1/+19 |
| | | | | | | | | | From a follow-up discussion in D44480. New tests check that function bodies are not skipped: - In presence of ptr declarators, e.g. `auto**`. - When `decltype(auto)` is used in return type, only `auto` was checked before. llvm-svn: 333735 | ||||
* | [Sema] Don't skip function bodies with 'auto' without trailing return type | Ilya Biryukov | 2018-05-30 | 1 | -0/+43 |
Summary: Skipping them was clearly not intentional. It's impossible to guarantee correctness if the bodies are skipped. Also adds a test case for r327504, now that it does not produce invalid errors that made the test fail. Reviewers: aaron.ballman, sammccall, rsmith Reviewed By: rsmith Subscribers: rayglover-ibm, rwols, cfe-commits Differential Revision: https://reviews.llvm.org/D44480 llvm-svn: 333538 |