Explicitly delete a function that is supposed to never be called.
llvm-svn: 249113
This commit is contained in:
		
							parent
							
								
									0ff249b906
								
							
						
					
					
						commit
						4bc1a9ecea
					
				| 
						 | 
					@ -520,7 +520,7 @@ class TemplateArgumentListInfo {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // This can leak if used in an AST node, use ASTTemplateArgumentListInfo
 | 
					  // This can leak if used in an AST node, use ASTTemplateArgumentListInfo
 | 
				
			||||||
  // instead.
 | 
					  // instead.
 | 
				
			||||||
  void* operator new(size_t bytes, ASTContext& C);
 | 
					  void *operator new(size_t bytes, ASTContext &C) = delete;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
public:
 | 
					public:
 | 
				
			||||||
  TemplateArgumentListInfo() {}
 | 
					  TemplateArgumentListInfo() {}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue