- Feb 10, 2010
-
-
Douglas Gregor authored
llvm-svn: 95805
-
Douglas Gregor authored
translation units. llvm-svn: 95794
-
Douglas Gregor authored
Implement AST importing and merging for typedefs. As part of this, provide a lame implementation for importing TypeSourceInfos. llvm-svn: 95783
-
Douglas Gregor authored
merged with variables of constant array types. Also, make sure that we call DiagnosticClient's BeginSourceFile/EndSourceFile, so that it has a LangOptions to work with. llvm-svn: 95782
-
Douglas Gregor authored
into another AST, including their include history. Here's an example error that involves a conflict merging a variable with different types in two translation units (diagnosed in the third AST context into which everything is merged). /Volumes/Data/dgregor/Projects/llvm/tools/clang/test/ASTMerge/Inputs/var2.c:3:5: error: external variable 'x2' declared with incompatible types in different translation units ('int' vs. 'double') int x2; ^ In file included from /Volumes/Data/dgregor/Projects/llvm/tools/clang/test/ASTMerge/Inputs/var1.c:3: /Volumes/Data/dgregor/Projects/llvm/tools/clang/test/ASTMerge/Inputs/var1.h:1:8: note: declared here with type 'double' double x2; ^ Although we maintain include history, we do not maintain macro instantiation history across a merge. Instead, we map down to the spelling location (for now!). llvm-svn: 95732
-
- Feb 09, 2010
-
-
Douglas Gregor authored
llvm-svn: 95706
-
Douglas Gregor authored
context with the AST importer. WIP, still useless but at least it has a test. llvm-svn: 95683
-
- Feb 08, 2010
-
-
Douglas Gregor authored
the AST importer. This doesn't actually do anything (yet), because we don't have driver logic for merging ASTs. llvm-svn: 95570
-
Douglas Gregor authored
llvm-svn: 95543
-
- Feb 05, 2010
-
-
Douglas Gregor authored
one context and import them into another context, merging them according to language-specific rules. This is a skeleton. It doesn't work, it isn't testable, but I want it in version control. llvm-svn: 95395
-