From 6e152156d52227c434a3b9b82105b21174693ba7 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sun, 27 Feb 2011 18:07:41 +0000 Subject: [PATCH] Fix an obvious typo. GCC -Waddress warns about this but clang doesn't (PR9043). llvm-svn: 126577 --- clang/tools/driver/cc1_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/tools/driver/cc1_main.cpp b/clang/tools/driver/cc1_main.cpp index ea130afb99b0..535eaa9c96f8 100644 --- a/clang/tools/driver/cc1_main.cpp +++ b/clang/tools/driver/cc1_main.cpp @@ -168,7 +168,7 @@ int cc1_main(const char **ArgBegin, const char **ArgEnd, // When running with -disable-free, don't do any destruction or shutdown. if (Clang->getFrontendOpts().DisableFree) { - if (llvm::AreStatisticsEnabled || Clang->getFrontendOpts().ShowStats) + if (llvm::AreStatisticsEnabled() || Clang->getFrontendOpts().ShowStats) llvm::PrintStatistics(); Clang.take(); return !Success;