diff options
Diffstat (limited to 'clang/lib/Sema/Sema.h')
| -rw-r--r-- | clang/lib/Sema/Sema.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index ef150646381..f1d0ee2da01 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -988,6 +988,17 @@ public: bool CheckOverloadedOperatorDeclaration(FunctionDecl *FnDecl); + //===--------------------------------------------------------------------===// + // C++ Templates [C++ 14] + // + bool isTemplateParameterDecl(Decl *D); + bool DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl); + virtual DeclTy *ActOnTypeParameter(Scope *S, bool Typename, + SourceLocation KeyLoc, + IdentifierInfo *ParamName, + SourceLocation ParamNameLoc); + virtual DeclTy *ActOnNonTypeTemplateParameter(Scope *S, Declarator &D); + // Objective-C declarations. virtual DeclTy *ActOnStartClassInterface(SourceLocation AtInterfaceLoc, IdentifierInfo *ClassName, |

