aboutsummaryrefslogtreecommitdiff
path: root/examples/PrintFunctionNames
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-07-26 21:12:29 +0000
committerDan Gohman <gohman@apple.com>2010-07-26 21:12:29 +0000
commit1890eb81a6ad9df6dee4d54d5031e1ea5c6e9ce7 (patch)
treef568f4a2dc9046bdd468ea5faa7c40e58cff1ecc /examples/PrintFunctionNames
parentb02d96bd7cea40aa51c25034f830fa9438b17af4 (diff)
Make a variable static.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109438 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/PrintFunctionNames')
-rw-r--r--examples/PrintFunctionNames/PrintFunctionNames.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/PrintFunctionNames/PrintFunctionNames.cpp b/examples/PrintFunctionNames/PrintFunctionNames.cpp
index 397cf843fa..e94b0ed676 100644
--- a/examples/PrintFunctionNames/PrintFunctionNames.cpp
+++ b/examples/PrintFunctionNames/PrintFunctionNames.cpp
@@ -53,5 +53,5 @@ protected:
}
-FrontendPluginRegistry::Add<PrintFunctionNamesAction>
+static FrontendPluginRegistry::Add<PrintFunctionNamesAction>
X("print-fns", "print function names");