Remove stray enum keywords. MSVC sees this as a redeclaration at global scope.
llvm-svn: 219031
diff --git a/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
index 435a253..aee5a43 100644
--- a/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
@@ -249,7 +249,7 @@
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::isCMemFunction(const FunctionDecl *FD,
ASTContext &C,
AllocationFamily Family,
- enum MemoryOperationKind MemKind) const {
+ MemoryOperationKind MemKind) const {
if (!FD)
return false;