summaryrefslogtreecommitdiffstats
path: root/llvm/lib/LibDriver/LibDriver.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-09-30 22:07:43 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-09-30 22:07:43 +0000
commite14d5304973f9513b4cd70659e60efb7986b6040 (patch)
tree8258dbcdd44e03c784932d61fbbfe2e481c20144 /llvm/lib/LibDriver/LibDriver.cpp
parent2dfd74f758da92d7c2ebd7590722092001d5622e (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud