diff options
| author | Douglas Gregor <dgregor@apple.com> | 2011-02-05 19:42:43 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2011-02-05 19:42:43 +0000 |
| commit | 606c4ac32536be0534e077ee730e6f9085eff3ab (patch) | |
| tree | eb1ea38b964d12a13dbf894daf32c3f1c0f73b58 /clang/lib/Sema | |
| parent | 0890502f44a1f65f1216c7b0658656dcbf8d3054 (diff) | |
| download | bcm5719-llvm-606c4ac32536be0534e077ee730e6f9085eff3ab.tar.gz bcm5719-llvm-606c4ac32536be0534e077ee730e6f9085eff3ab.zip | |
Improve our uniquing of file entries when files are re-saved or are
overridden via remapping. Thus, when we create a "virtual" file in the
file manager, we still stat() the real file that lives behind it so
that we can provide proper uniquing based on inodes. This helps keep
the file manager much more consistent.
To take advantage of this when reparsing files in libclang, we disable
the use of the stat() cache when reparsing or performing code
completion, since the stat() cache is very likely to be out of date in
this use case.
llvm-svn: 124971
Diffstat (limited to 'clang/lib/Sema')
| -rw-r--r-- | clang/lib/Sema/SemaType.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaType.cpp b/clang/lib/Sema/SemaType.cpp index a1908126efc..9206b1bed6e 100644 --- a/clang/lib/Sema/SemaType.cpp +++ b/clang/lib/Sema/SemaType.cpp @@ -505,8 +505,6 @@ static void maybeSynthesizeBlockSignature(TypeProcessingState &state, break; } } - assert(!isOnlyParens && - "non-empty abstract-declarator contained only parens!"); } #endif |

