diff options
author | Alexis Hunt <alercah@gmail.com> | 2010-01-13 09:01:02 +0000 |
---|---|---|
committer | Alexis Hunt <alercah@gmail.com> | 2010-01-13 09:01:02 +0000 |
commit | c88db06565fc8d07c81f509e44c20a883b560aef (patch) | |
tree | 5d6deb29bb4e70428713a38b2eb08a7e2f43c6a3 /clang/lib/Sema/Sema.h | |
parent | 10e2f7264e3454b8dc21d5c03b56014c191ef68d (diff) | |
download | bcm5719-llvm-c88db06565fc8d07c81f509e44c20a883b560aef.tar.gz bcm5719-llvm-c88db06565fc8d07c81f509e44c20a883b560aef.zip |
Implement semantic checking for C++ literal operators.
This now rejects literal operators that don't meet the requirements.
Templates are not yet checked for.
llvm-svn: 93315
Diffstat (limited to 'clang/lib/Sema/Sema.h')
-rw-r--r-- | clang/lib/Sema/Sema.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index 38657638b7d..956776cf29e 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -2360,6 +2360,8 @@ public: bool CheckOverloadedOperatorDeclaration(FunctionDecl *FnDecl); + bool CheckLiteralOperatorDeclaration(FunctionDecl *FnDecl); + //===--------------------------------------------------------------------===// // C++ Templates [C++ 14] // |