Explicitly delete a function that is supposed to never be called.

llvm-svn: 249113
This commit is contained in:
Richard Smith 2015-10-02 00:46:58 +00:00
parent 0ff249b906
commit 4bc1a9ecea
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ class TemplateArgumentListInfo {
// This can leak if used in an AST node, use ASTTemplateArgumentListInfo
// instead.
void* operator new(size_t bytes, ASTContext& C);
void *operator new(size_t bytes, ASTContext &C) = delete;
public:
TemplateArgumentListInfo() {}