about summary refs log tree commit diff homepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Core/Executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Core/Executor.cpp b/lib/Core/Executor.cpp
index d70a2c4e..45209617 100644
--- a/lib/Core/Executor.cpp
+++ b/lib/Core/Executor.cpp
@@ -225,7 +225,7 @@ cl::opt<ExtCallWarnings> ExternalCallWarnings(
             "Never warn"),
         clEnumValN(ExtCallWarnings::OncePerFunction, "once-per-function",
                    "Warn once per external function (default)"),
-        clEnumValN(ExternalCallPolicy::All, "all",
+        clEnumValN(ExtCallWarnings::All, "all",
                    "Always warn")),
     cl::init(ExtCallWarnings::OncePerFunction),
     cl::cat(ExtCallsCat));