summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeCompletion/skip-auto-funcs.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [CodeComplete] Add a few extra tests for r333538. NFCIlya Biryukov2018-06-011-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 typeIlya Biryukov2018-05-301-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
OpenPOWER on IntegriCloud