summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatrik Hagglund <patrik.h.hagglund@ericsson.com>2014-02-21 07:23:53 +0000
committerPatrik Hagglund <patrik.h.hagglund@ericsson.com>2014-02-21 07:23:53 +0000
commit7edcb6e633d35c53e1629df17cc8d15e11b489cb (patch)
tree6c83e5dc603fb3c7a0b4863ceb78c4fb44a92a7e /lib
parentfa983653b054e1dd0d90f2127e4649e8b84f5e9d (diff)
downloadclang-7edcb6e633d35c53e1629df17cc8d15e11b489cb.tar.gz
Fix gcc -Wparentheses warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201840 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Basic/FileManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/FileManager.cpp b/lib/Basic/FileManager.cpp
index 08f19fb200..efc08aac96 100644
--- a/lib/Basic/FileManager.cpp
+++ b/lib/Basic/FileManager.cpp
@@ -306,7 +306,7 @@ const FileEntry *FileManager::getFile(StringRef Filename, bool openFile,
return 0;
}
- assert(openFile || !F && "undesired open file");
+ assert((openFile || !F) && "undesired open file");
// It exists. See if we have already opened a file with the same inode.
// This occurs when one dir is symlinked to another, for example.