summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/pch-with-errors.c
Commit message (Collapse)AuthorAgeFilesLines
* clang/test/Index/pch-with-errors.c: Remove XFAIL added in r206294. It has ↵NAKAMURA Takumi2014-04-191-3/+0
| | | | | | been fixed since r206644. llvm-svn: 206685
* Mark clang/test/Index/pch-with-errors.c as XFAIL:mingw for now. Investigating.NAKAMURA Takumi2014-04-151-0/+3
| | | | | | This has been failing since r206202. llvm-svn: 206294
* Add 'not' to commands that are expected to fail.Rafael Espindola2013-07-041-2/+2
| | | | | | | This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652
* [libclang] Don't crash when saving a PCH from a prefix headerArgyrios Kyrtzidis2012-06-081-1/+3
| | | | | | | | that does not exist. rdar://11607033 llvm-svn: 158193
* Allow serializing an invalid ParmVarDecl and don't set access to public forArgyrios Kyrtzidis2012-03-091-0/+2
| | | | | | | | invalid ParmVarDecls. Part of rdar://11007039. llvm-svn: 152437
* Improve our semantic error recovery.Argyrios Kyrtzidis2012-03-091-2/+14
| | | | | | | | | | | | | | | | | When an error made a record member invalid, the record would stay as "isBeingDefined" and not "completeDefinition". Even easily recoverable errors ended up propagating records in such "beingDefined" state, for example: struct A { ~A() const; // expected-error {{'const' qualifier is not allowed on a destructor}} }; struct B : A {}; // A & B would stay as "not complete definition" and "being defined". This weird state was impending lookups in the records and hitting assertion in the ASTWriter. Part of rdar://11007039 llvm-svn: 152432
* [libclang] Fix a crash when serializing a preprocessing record that containsArgyrios Kyrtzidis2012-03-081-4/+4
| | | | | | | | an #include entry that did not resolve to header file. Part of rdar://11007039 llvm-svn: 152275
* [PCH] Mark a PCH file with a flag to indicate if the serialized AST hadArgyrios Kyrtzidis2012-03-071-0/+28
compiler errors or not. -Control whether ASTReader should reject such a PCH by a boolean flag at ASTReader's creation time. By default, such a PCH file will be rejected with an error when trying to load it. [libclang] Allow clang_saveTranslationUnit to create a PCH file even if compiler errors occurred. -Have libclang API calls accept a PCH that had compiler errors. The general idea is that we want libclang to stay functional even if a PCH had a compiler error. rdar://10976363. llvm-svn: 152192
OpenPOWER on IntegriCloud