r365490 - [libclang] Fix hang in release / assertion in debug when evaluating value-dependent types.

2019-07-09 Thread Emilio Cobos Alvarez via cfe-commits
Author: emilio Date: Tue Jul 9 07:27:01 2019 New Revision: 365490 URL: http://llvm.org/viewvc/llvm-project?rev=365490&view=rev Log: [libclang] Fix hang in release / assertion in debug when evaluating value-dependent types. Expression evaluator doesn't work in value-dependent types, so ensure th

r356062 - [libclang] Expose aligned() attribute.

2019-03-13 Thread Emilio Cobos Alvarez via cfe-commits
Author: emilio Date: Wed Mar 13 09:16:54 2019 New Revision: 356062 URL: http://llvm.org/viewvc/llvm-project?rev=356062&view=rev Log: [libclang] Expose aligned() attribute. Summary: This is useful because otherwise there's no easy way to distinguish #pragma packed(N) from attribute(packed, aligned

r354885 - [libclang] Avoid crashing when getting layout info of an undeduced type.

2019-02-26 Thread Emilio Cobos Alvarez via cfe-commits
Author: emilio Date: Tue Feb 26 07:04:18 2019 New Revision: 354885 URL: http://llvm.org/viewvc/llvm-project?rev=354885&view=rev Log: [libclang] Avoid crashing when getting layout info of an undeduced type. When the type is not deducible, return an error instead of crashing. This fixes https://bu

r354824 - [libclang] Expose warn_unused and warn_unused_result attributes.

2019-02-25 Thread Emilio Cobos Alvarez via cfe-commits
Author: emilio Date: Mon Feb 25 13:24:52 2019 New Revision: 354824 URL: http://llvm.org/viewvc/llvm-project?rev=354824&view=rev Log: [libclang] Expose warn_unused and warn_unused_result attributes. This is helpful to properly detect them, and fixing issues like https://github.com/rust-lang/rust-b

r354823 - [libclang] Fix a trivial error introduced in D57946.

2019-02-25 Thread Emilio Cobos Alvarez via cfe-commits
Author: emilio Date: Mon Feb 25 13:15:34 2019 New Revision: 354823 URL: http://llvm.org/viewvc/llvm-project?rev=354823&view=rev Log: [libclang] Fix a trivial error introduced in D57946. The value for CXCursor_ConvergentAttr is not 420. I'm not really sure how easy it is to test this, and I'm not

r301906 - Remove leftover test expectation from rL301902.

2017-05-02 Thread Emilio Cobos Alvarez via cfe-commits
Author: emilio Date: Tue May 2 04:57:30 2017 New Revision: 301906 URL: http://llvm.org/viewvc/llvm-project?rev=301906&view=rev Log: Remove leftover test expectation from rL301902. Modified: cfe/trunk/test/Index/print-type.cpp Modified: cfe/trunk/test/Index/print-type.cpp URL: http://llvm.o

r301902 - [libclang] Revert rL301328 and add tests for the regressions introduced.

2017-05-02 Thread Emilio Cobos Alvarez via cfe-commits
Author: emilio Date: Tue May 2 03:32:15 2017 New Revision: 301902 URL: http://llvm.org/viewvc/llvm-project?rev=301902&view=rev Log: [libclang] Revert rL301328 and add tests for the regressions introduced. Differential Revision: https://reviews.llvm.org/D32566 Modified: cfe/trunk/test/Index

r301648 - [libclang] Expose some target information via the C API.

2017-04-28 Thread Emilio Cobos Alvarez via cfe-commits
Author: emilio Date: Fri Apr 28 10:56:39 2017 New Revision: 301648 URL: http://llvm.org/viewvc/llvm-project?rev=301648&view=rev Log: [libclang] Expose some target information via the C API. This allows users to query the target triple and target pointer width, which would make me able to fix http