summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaOverload.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-08-22 12:12:24 +0000
committerManuel Klimek <klimek@google.com>2013-08-22 12:12:24 +0000
commit2fdbea2819448ecb07ba69c5a70eb49691007880 (patch)
treeab24c9e98fe9246a5220986c29e031105ad9323c /clang/lib/Sema/SemaOverload.cpp
parent1559dd8a1cd7cb372046148165a5d0409aff4d82 (diff)
downloadbcm5719-llvm-2fdbea2819448ecb07ba69c5a70eb49691007880.tar.gz
bcm5719-llvm-2fdbea2819448ecb07ba69c5a70eb49691007880.zip
Revert "Implement a rudimentary form of generic lambdas."
This reverts commit 606f5d7a99b11957e057e4cd1f55f931f66a42c7. llvm-svn: 189004
Diffstat (limited to 'clang/lib/Sema/SemaOverload.cpp')
-rw-r--r--clang/lib/Sema/SemaOverload.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp
index 33dbf14580b..06d1f0b0e2d 100644
--- a/clang/lib/Sema/SemaOverload.cpp
+++ b/clang/lib/Sema/SemaOverload.cpp
@@ -8670,10 +8670,6 @@ void DiagnoseBadDeduction(Sema &S, Decl *Templated,
}
}
}
- // FIXME: For generic lambda parameters, check if the function is a lambda
- // call operator, and if so, emit a prettier and more informative
- // diagnostic that mentions 'auto' and lambda in addition to
- // (or instead of?) the canonical template type parameters.
S.Diag(Templated->getLocation(),
diag::note_ovl_candidate_non_deduced_mismatch)
<< FirstTA << SecondTA;
OpenPOWER on IntegriCloud