diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2015-09-30 22:07:43 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2015-09-30 22:07:43 +0000 |
| commit | e14d5304973f9513b4cd70659e60efb7986b6040 (patch) | |
| tree | 8258dbcdd44e03c784932d61fbbfe2e481c20144 /llvm/lib/LibDriver/LibDriver.cpp | |
| parent | 2dfd74f758da92d7c2ebd7590722092001d5622e (diff) | |
| download | bcm5719-llvm-e14d5304973f9513b4cd70659e60efb7986b6040.tar.gz bcm5719-llvm-e14d5304973f9513b4cd70659e60efb7986b6040.zip | |
[Sema] Don't crash when friending an unqualified templated constructor
Unqualified templated constructors cannot be friended and our lack of a
diagnostic led to violated invariants. Instead, raise a diagnostic when
processing the friend declaration.
This fixes PR20251.
llvm-svn: 248953
Diffstat (limited to 'llvm/lib/LibDriver/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions

