summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDeclCXX.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Sema/SemaDeclCXX.cpp')
-rw-r--r--clang/lib/Sema/SemaDeclCXX.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/Sema/SemaDeclCXX.cpp b/clang/lib/Sema/SemaDeclCXX.cpp
index 4abeaaf2467..35920c2792b 100644
--- a/clang/lib/Sema/SemaDeclCXX.cpp
+++ b/clang/lib/Sema/SemaDeclCXX.cpp
@@ -5932,9 +5932,6 @@ bool Sema::CheckLiteralOperatorDeclaration(FunctionDecl *FnDecl) {
return true;
}
- if (FnDecl->getDeclName().getCXXLiteralIdentifier()->getName()[0] != '_')
- Diag(FnDecl->getLocation(), diag::warn_literal_operator_no_underscore);
-
bool Valid = false;
// template <char...> type operator "" name() is the only valid template
OpenPOWER on IntegriCloud