From 3e665b185a55983fdf0d840369a2bc9082ff21d3 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Fri, 3 Oct 2014 22:20:30 +0000 Subject: [PATCH] Remove stray enum keywords. MSVC sees this as a redeclaration at global scope. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219031 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/StaticAnalyzer/Checkers/MallocChecker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp index 435a253a6b..aee5a43048 100644 --- a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp @@ -249,7 +249,7 @@ private: bool isCMemFunction(const FunctionDecl *FD, ASTContext &C, AllocationFamily Family, - enum MemoryOperationKind) const; + MemoryOperationKind MemKind) const; bool isStandardNewDelete(const FunctionDecl *FD, ASTContext &C) const; ///@} ProgramStateRef MallocMemReturnsAttr(CheckerContext &C, @@ -526,7 +526,7 @@ bool MallocChecker::isMemFunction(const FunctionDecl *FD, ASTContext &C) const { bool MallocChecker::isCMemFunction(const FunctionDecl *FD, ASTContext &C, AllocationFamily Family, - enum MemoryOperationKind MemKind) const { + MemoryOperationKind MemKind) const { if (!FD) return false; -- 2.50.1