summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2014-10-03 22:20:30 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2014-10-03 22:20:30 +0000
commit719772c269ac2e6498ee81b5add4607c76fe402f (patch)
treeb86afea8e5247a8b4f9995cf2edf52354e313c9a /clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
parentfa9df7af07fa888feec91b06320b9091d4a3fb52 (diff)
downloadbcm5719-llvm-719772c269ac2e6498ee81b5add4607c76fe402f.tar.gz
bcm5719-llvm-719772c269ac2e6498ee81b5add4607c76fe402f.zip
Remove stray enum keywords. MSVC sees this as a redeclaration at global scope.
llvm-svn: 219031
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
index 435a253a6ba..aee5a43048b 100644
--- a/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud