From ab01d4bb14993ce06447de4ecda99563c05145a0 Mon Sep 17 00:00:00 2001 From: Patrik Hagglund Date: Fri, 21 Feb 2014 07:23:53 +0000 Subject: [PATCH] Fix gcc -Wparentheses warning. llvm-svn: 201840 --- clang/lib/Basic/FileManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/Basic/FileManager.cpp b/clang/lib/Basic/FileManager.cpp index 08f19fb2006e..efc08aac96de 100644 --- a/clang/lib/Basic/FileManager.cpp +++ b/clang/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.