summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-02-20 22:23:23 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-02-20 22:23:23 +0000
commit05785d16223328463b5a66d4892748951fb9743d (patch)
tree7185a16931db7901c1a221f2a04d64de5f349a2b /clang/lib/Lex
parente359f3caeed5bda3750b989e90461fd074a18816 (diff)
downloadbcm5719-llvm-05785d16223328463b5a66d4892748951fb9743d.tar.gz
bcm5719-llvm-05785d16223328463b5a66d4892748951fb9743d.zip
Include llvm::Optional in clang/Basic/LLVM.h
Post-commit CR feedback from Jordan Rose regarding r175594. llvm-svn: 175679
Diffstat (limited to 'clang/lib/Lex')
-rw-r--r--clang/lib/Lex/PreprocessingRecord.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Lex/PreprocessingRecord.cpp b/clang/lib/Lex/PreprocessingRecord.cpp
index c2a340cae79..ac0985be846 100644
--- a/clang/lib/Lex/PreprocessingRecord.cpp
+++ b/clang/lib/Lex/PreprocessingRecord.cpp
@@ -103,8 +103,8 @@ bool PreprocessingRecord::isEntityInFileID(iterator PPEI, FileID FID) {
// See if the external source can see if the entity is in the file without
// deserializing it.
- llvm::Optional<bool>
- IsInFile = ExternalSource->isPreprocessedEntityInFileID(LoadedIndex, FID);
+ Optional<bool> IsInFile =
+ ExternalSource->isPreprocessedEntityInFileID(LoadedIndex, FID);
if (IsInFile.hasValue())
return IsInFile.getValue();
OpenPOWER on IntegriCloud