diff options
Diffstat (limited to 'clang/lib/AST/ODRHash.cpp')
-rw-r--r-- | clang/lib/AST/ODRHash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ODRHash.cpp b/clang/lib/AST/ODRHash.cpp index 735bcff..f8e3680 100644 --- a/clang/lib/AST/ODRHash.cpp +++ b/clang/lib/AST/ODRHash.cpp @@ -551,7 +551,7 @@ void ODRHash::AddFunctionDecl(const FunctionDecl *Function, AddBoolean(Method->isVolatile()); } - ID.AddInteger(Function->getStorageClass()); + ID.AddInteger(static_cast<int>(Function->getStorageClass())); AddBoolean(Function->isInlineSpecified()); AddBoolean(Function->isVirtualAsWritten()); AddBoolean(Function->isPure()); |