diff options
author | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2014-02-21 07:23:53 +0000 |
---|---|---|
committer | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2014-02-21 07:23:53 +0000 |
commit | 7edcb6e633d35c53e1629df17cc8d15e11b489cb (patch) | |
tree | 6c83e5dc603fb3c7a0b4863ceb78c4fb44a92a7e /lib | |
parent | fa983653b054e1dd0d90f2127e4649e8b84f5e9d (diff) | |
download | clang-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.cpp | 2 |
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. |