aboutsummaryrefslogtreecommitdiff
path: root/lib/Checker/UnixAPIChecker.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-04-09 20:26:58 +0000
committerTed Kremenek <kremenek@apple.com>2010-04-09 20:26:58 +0000
commit66d5142ab5026aa77ab6f1d7e4d9bdb0b438d55a (patch)
tree4e9485eecf61b7e93820998ff6085d82b4ca38b8 /lib/Checker/UnixAPIChecker.cpp
parent03a4bee558b63ead66e942c6b26381df9a8b1754 (diff)
Remove copy of 'Optional' in Clang tree, and convert clients to use the one now in the LLVM tree.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100891 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/UnixAPIChecker.cpp')
-rw-r--r--lib/Checker/UnixAPIChecker.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Checker/UnixAPIChecker.cpp b/lib/Checker/UnixAPIChecker.cpp
index 31864e7455..e9b8f0966a 100644
--- a/lib/Checker/UnixAPIChecker.cpp
+++ b/lib/Checker/UnixAPIChecker.cpp
@@ -13,14 +13,15 @@
//===----------------------------------------------------------------------===//
#include "GRExprEngineInternalChecks.h"
-#include "clang/Analysis/Support/Optional.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Checker/BugReporter/BugType.h"
#include "clang/Checker/PathSensitive/CheckerVisitor.h"
+#include "llvm/ADT/Optional.h"
#include "llvm/ADT/StringSwitch.h"
#include <fcntl.h>
using namespace clang;
+using llvm::Optional;
namespace {
class UnixAPIChecker : public CheckerVisitor<UnixAPIChecker> {