diff options
author | Sean Hunt <rideau3@gmail.com> | 2010-01-13 09:01:02 +0000 |
---|---|---|
committer | Sean Hunt <rideau3@gmail.com> | 2010-01-13 09:01:02 +0000 |
commit | a6c058dd75c5563cced821fc16766a7cc179e00c (patch) | |
tree | 26b721cc5233e697220478b302f8a05691320d85 /lib/Sema/Sema.h | |
parent | 1248451dcb59c2fe4353611395feb7f7251792bf (diff) |
Implement semantic checking for C++ literal operators.
This now rejects literal operators that don't meet the requirements.
Templates are not yet checked for.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93315 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r-- | lib/Sema/Sema.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h index 38657638b7..956776cf29 100644 --- a/lib/Sema/Sema.h +++ b/lib/Sema/Sema.h @@ -2360,6 +2360,8 @@ public: bool CheckOverloadedOperatorDeclaration(FunctionDecl *FnDecl); + bool CheckLiteralOperatorDeclaration(FunctionDecl *FnDecl); + //===--------------------------------------------------------------------===// // C++ Templates [C++ 14] // |