summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'release-0.3'HEADmasterBrad King2020-04-270-0/+0
|\
| * CastXML 0.3.4v0.3.4Brad King2020-04-271-1/+1
| |
* | Merge branch 'release-0.3'Brad King2020-04-270-0/+0
|\ \ | |/
| * Merge branch 'cc-msvc-target' into release-0.3Brad King2020-04-276-5/+13
| |\ | | | | | | | | | | | | | | | * cc-msvc-target: test: Run cc-msvc-builtin-1923 test with suitable target triple Detect: Add MSVC target triple component
* | | Version: Update development dateBrad King2020-04-271-1/+1
| | |
* | | Merge branch 'cc-msvc-target'Brad King2020-04-276-5/+13
|\ \ \ | | |/ | |/| | | | | | | | | | * cc-msvc-target: test: Run cc-msvc-builtin-1923 test with suitable target triple Detect: Add MSVC target triple component
| * | test: Run cc-msvc-builtin-1923 test with suitable target tripleBrad King2020-04-271-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test added by commit 4ef8cb85 (test: Add case for __builtin_assume_aligned declaration in MSVC header, 2020-04-03, v0.3.3~2^2) uses the MSVC `__cdecl` calling convention specifier. That is not supported by all target ABIs, so update the test to run CastXML using the `x86_64-pc-windows-msvc` target triple. Fixes: #165
| * | Detect: Add MSVC target triple componentBrad King2020-04-275-4/+10
| |/ | | | | | | When `_MSC_VER` is among compiler predefines, the target ABI is MSVC.
* | Merge branch 'release-0.3'Brad King2020-04-030-0/+0
|\ \ | |/
| * CastXML 0.3.3v0.3.3Brad King2020-04-031-1/+1
| |
* | Merge branch 'release-0.3'Brad King2020-04-030-0/+0
|\ \ | |/
| * Merge branch 'test-cc-gnu-windows' into release-0.3Brad King2020-04-035-8/+20
| |\
* | \ Merge branch 'test-cc-gnu-windows'Brad King2020-04-035-8/+20
|\ \ \ | | |/ | |/|
| * | test: Fix cc-gnu predefined macros on WindowsBrad King2020-04-035-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | For Windows targets, GNU compilers predefine `_WIN32` and `__MINGW32__`. CastXML uses those to set the target triple correctly when using `--castxml-cc-gnu`. Teach our fake GNU compiler in the test suite to define these too. Otherwise CastXML does not add `gnu` to the target triple. This causes the Windows-hosted Clang to choose `msvc` in the default triple and enable MS compatibility, which is incorrect.
* | | Version: Update development dateBrad King2020-04-031-1/+1
| | |
* | | Merge branch 'release-0.3'Brad King2020-04-030-0/+0
|\ \ \ | | |/ | |/|
| * | Merge branch 'msvc-builtin-conflict' into release-0.3Brad King2020-04-032-0/+9
| |\ \ | | |/
* | | Merge branch 'msvc-builtin-conflict'Brad King2020-04-032-0/+9
|\ \ \ | | |/ | |/|
| * | test: Add case for __builtin_assume_aligned declaration in MSVC headerBrad King2020-04-032-0/+9
| |/ | | | | | | | | | | In commit f9a05da6 (RunClang: Tolerate __builtin_assume_aligned declaration in MSVC header, 2020-03-31, v0.3.2~1^2) we left out a test case. Add one now.
* | Merge branch 'release-0.3'Brad King2020-04-010-0/+0
|\ \ | |/
| * CastXML 0.3.2v0.3.2Brad King2020-04-011-1/+1
| |
* | Merge branch 'release-0.3'Brad King2020-04-010-0/+0
|\ \ | |/
| * Merge branch 'msvc-builtin-conflict' into release-0.3Brad King2020-03-311-0/+11
| |\
* | \ Merge branch 'msvc-builtin-conflict'Brad King2020-03-311-0/+11
|\ \ \ | | |/ | |/|
| * | RunClang: Tolerate __builtin_assume_aligned declaration in MSVC headerBrad King2020-03-311-0/+11
| |/ | | | | | | | | | | | | | | MSVC tools 14.23 and above declare `__builtin_assume_aligned` in `intrin0.h` with a signature incompatible with Clang's builtin. It is guarded by `!defined(__clang__)` but that breaks when we simulate MSVC's preprocessor. Rename the builtin via preprocessing to avoid the conflict.
* | Merge branch 'release-0.3'Brad King2020-02-180-0/+0
|\ \ | |/
| * CastXML 0.3.1v0.3.1Brad King2020-02-181-1/+1
| |
* | Version: Update development dateBrad King2020-02-181-1/+1
| |
* | Merge branch 'release-0.3'Brad King2020-02-180-0/+0
|\ \ | |/
| * Merge branch 'shared-clang' into release-0.3Brad King2020-02-181-12/+22
| |\
* | \ Merge branch 'shared-clang'Brad King2020-02-181-12/+22
|\ \ \ | | |/ | |/|
| * | cmake: Add option CLANG_LINK_CLANG_DYLIB to use clang-cpp shared libMattias Ellert2020-02-181-12/+22
| |/ | | | | | | | | Clang 9 introduced a `clang-cpp` shared library that we can optionally use instead of linking to the static libraries.
* | Begin post-0.3 developmentBrad King2020-02-131-1/+1
| |
* | Merge branch 'release-0.3'Brad King2020-02-131-2/+2
|\ \ | |/
| * CastXML 0.3.0v0.3.0Brad King2020-02-131-2/+2
|/
* NOTICE: Update copyright year rangeBrad King2020-02-131-1/+1
| | | | We've made modifications in every year since the last update.
* Update documentation and comments to use https links where possibleBrad King2020-02-1323-29/+29
|
* Merge branch 'release-0.2'Brad King2020-02-130-0/+0
|\
| * CastXML 0.2.1v0.2.1Brad King2020-02-131-1/+1
| |
* | Merge branch 'release-0.2'Brad King2020-02-131-20/+14
|\ \ | |/
| * Version: Drop git describe commit count from version numberBrad King2020-02-131-9/+1
| | | | | | | | | | | | | | Revise the logic from commit 60dc8284 (Version: Update version scheme to distinguish release and dev versions, 2019-04-11, v0.2.0~2) to drop the `-<count>` portion of the version number. This makes the version string the same for versions built from a Git source tree and from a tarball.
| * Version: Prefer Git information provided by 'git archive' exportsBrad King2020-02-131-11/+13
| | | | | | | | | | | | | | | | Update the approach from commit 60dc8284 (Version: Update version scheme to distinguish release and dev versions, 2019-04-11, v0.2.0~2) to prefer `export-subst` information. This will allow exported source trees to be imported into unrelated Git repositories while still using the original upstream CastXML commit information.
* | Merge branch 'release-0.2'Brad King2020-02-130-0/+0
|\ \ | |/
| * Merge branch 'ppc64' into release-0.2Brad King2019-07-152-5/+21
| |\ | | | | | | | | | | | | | | | * ppc64: Detect: Drop detected predefined macros conflicting with Clang's Detect: Fix GNU builtin include directory detection on ppc64
* | | Version: Update development dateBrad King2020-02-131-1/+1
| | |
* | | Port to LLVM/Clang Git master as of 2020-02-13 (6c73246179)Brad King2020-02-134-5/+13
| | | | | | | | | | | | | | | | | | The `llvm::StringRef` type now requires explicit conversion to `std::string`. Such explicit conversions still work with older versions of LLVM/Clang too.
* | | README: Document support for LLVM/Clang 10.0Brad King2020-02-131-0/+1
| | | | | | | | | | | | CastXML already compiles and passes all tests against this version.
* | | Output: Add decltype supportLucas Gandel2020-02-112-9/+4
| | | | | | | | | | | | | | | Extend the `--castxml-output=1` format to support decltype. Create a dump node for the underlying type.
* | | Port to LLVM/Clang SVN r375505 (trunk)Brad King2019-12-093-3/+15
| | | | | | | | | | | | | | | | | | Clang renamed `clang/AST/TypeNodes.{def => inc}` and replaced the `createDriverOptTable` factory with a singleton returned by `getDriverOptTable`.
* | | Port to LLVM/Clang SVN r370248 (trunk)Brad King2019-08-293-5/+21
| | | | | | | | | | | | | | | | | | LLVM now compiles as C++14. It does not provide `llvm::make_unique`. The `clang::CompilerInvocation::CreateFromArgs` signature now accepts an `ArrayRef` for the argument range instead of iterators.