Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [libclang] Make sure to use the raw module format for libclang parsing. | Argyrios Kyrtzidis | 2015-11-20 | 1 | -0/+2 |
| | | | | | | | Fixes crash when passing '-gmodules' in the compiler options. rdar://23588717 llvm-svn: 253645 | ||||
* | [libclang] Introduce clang_Module_isSystem(), which returns non-zero if the ↵ | Argyrios Kyrtzidis | 2014-05-15 | 1 | -1/+1 |
| | | | | | | given CXModule is a system one. llvm-svn: 208846 | ||||
* | Allow multiple modules with the same name to coexist in the module cache | Ben Langmuir | 2014-04-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To differentiate between two modules with the same name, we will consider the path the module map file that they are defined by* part of the ‘key’ for looking up the precompiled module (pcm file). Specifically, this patch renames the precompiled module (pcm) files from cache-path/<module hash>/Foo.pcm to cache-path/<module hash>/Foo-<hash of module map path>.pcm In addition, I’ve taught the ASTReader to re-resolve the names of imported modules during module loading so that if the header search context changes between when a module was originally built and when it is loaded we can rebuild it if necessary. For example, if module A imports module B first time: clang -I /path/to/A -I /path/to/B ... second time: clang -I /path/to/A -I /different/path/to/B ... will now rebuild A as expected. * in the case of inferred modules, we use the module map file that allowed the inference, not the __inferred_module.map file, since the inferred file path is the same for every inferred module. llvm-svn: 206201 | ||||
* | [libclang] Introduce clang_Module_getASTFile function that returns the ↵ | Argyrios Kyrtzidis | 2013-04-26 | 1 | -0/+7 |
| | | | | | | | | module file where a module object came from. rdar://13743084 llvm-svn: 180643 | ||||
* | Rename -fmodule-cache-path <blah> to -fmodules-cache-path=<blah> for ↵ | Douglas Gregor | 2013-02-07 | 1 | -2/+2 |
| | | | | | | consistency. llvm-svn: 174645 | ||||
* | Use @import rather than @__experimental_modules_import, since the | Douglas Gregor | 2012-12-11 | 1 | -4/+4 |
| | | | | | | latter is rather a mess to type. llvm-svn: 169919 | ||||
* | [libclang] Add a test for annotation of module headers | Argyrios Kyrtzidis | 2012-10-18 | 1 | -0/+42 |
llvm-svn: 166160 |