| commit | 9d8a97ebd16be2ed047690615a49760aa47aa9aa | [log] [tgz] |
|---|---|---|
| author | Zachary Turner <zturner@google.com> | Fri Apr 01 23:20:35 2016 +0000 |
| committer | Zachary Turner <zturner@google.com> | Fri Apr 01 23:20:35 2016 +0000 |
| tree | 161394c36a5cf4e98ea00178e2edcbf940f4280a | |
| parent | 0eb360362617a75fc9c7bb4e7fce50ad9196e49d [diff] |
Add some unit tests for ClangASTContext. In doing so, two bugs were uncovered (and fixed). The first bug is that ClangASTContext::RemoveFastQualifiers() was broken, and was not removing fast qualifiers (or doing anything else for that matter). The second bug is that UnifyAccessSpecifiers treated AS_None asymmetrically, which is probably an edge case, but seems like a bug nonetheless. llvm-svn: 265200