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 | ab01d4bb14993ce06447de4ecda99563c05145a0 (patch) | |
tree | a41d4ca272d3738b94f4caa662d4e68d9b506059 /clang/lib/Basic/FileManager.cpp | |
parent | 31d7ad4ecff690d83f404e49662b5edc9d95ae53 (diff) | |
download | llvm-ab01d4bb14993ce06447de4ecda99563c05145a0.zip llvm-ab01d4bb14993ce06447de4ecda99563c05145a0.tar.gz llvm-ab01d4bb14993ce06447de4ecda99563c05145a0.tar.bz2 |
Fix gcc -Wparentheses warning.
llvm-svn: 201840
Diffstat (limited to 'clang/lib/Basic/FileManager.cpp')
-rw-r--r-- | clang/lib/Basic/FileManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/FileManager.cpp b/clang/lib/Basic/FileManager.cpp index 08f19fb..efc08aa 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. |