- Aug 27, 2011
-
-
Douglas Gregor authored
pointer variable. Patch by David Blaikie! llvm-svn: 138687
-
Douglas Gregor authored
llvm-svn: 138684
-
Douglas Gregor authored
llvm-svn: 138681
-
Douglas Gregor authored
Try to unbreak the build on systems where uint64_t isn't something that StringRef::getAsInteger can handle as its second argument llvm-svn: 138680
-
Douglas Gregor authored
loads the named module. The syntax itself is intentionally hideous and will be replaced at some later point with something more palatable. For now, we're focusing on the semantics: - Module imports are handled first by the preprocessor (to get macro definitions) and then the same tokens are also handled by the parser (to get declarations). If both happen (as in normal compilation), the second one is redundant, because we currently have no way to hide macros or declarations when loading a module. Chris gets credit for this mad-but-workable scheme. - The Preprocessor now holds on to a reference to a module loader, which is responsible for loading named modules. CompilerInstance is the only important module loader: it now knows how to create and wire up an AST reader on demand to actually perform the module load. - We search for modules in the include path, using the module name with the suffix ".pcm" (precompiled module) for the file name. This is a temporary hack; we hope to improve the situation in the future. llvm-svn: 138679
-
Argyrios Kyrtzidis authored
llvm-svn: 138674
-
Argyrios Kyrtzidis authored
of the migrated files. rdar://10022801 llvm-svn: 138671
-
Chad Rosier authored
llvm-svn: 138670
-
Douglas Gregor authored
are lexically within a particular DeclContext. Test forthcoming. llvm-svn: 138668
-
- Aug 26, 2011
-
-
Chad Rosier authored
for catching this. llvm-svn: 138666
-
Chad Rosier authored
cases we want the prefix to be the original file name less the suffix. For an input such as test.c to named temporary would be something like test-3O4Clq.o Part of <rdar://problem/8314451> llvm-svn: 138662
-
Douglas Gregor authored
after having already deserialized the fields, clear out the fields first. This makes sure that we keep all of the declarations in the lexical context (including those implicitly added by later type-checking) within the same list. A test case for this behavior is coming as part of another commit; testing for this problem in isolation is a nightmare. llvm-svn: 138661
-
Fariborz Jahanian authored
finding life-time conflict with its declared ivar. // rdar://10007230 llvm-svn: 138659
-
John McCall authored
emit all gl-value arguments as reference bindings. llvm-svn: 138655
-
Jordy Rose authored
llvm-svn: 138649
-
Eli Friedman authored
llvm-svn: 138648
-
Eli Friedman authored
Make sure we don't crash printing builtin candidates for overloads of deleted operators. Fixes PR10757. llvm-svn: 138645
-
John McCall authored
llvm-svn: 138639
-
John McCall authored
the crazy comma expression so that we get an r-value in the varargs position. llvm-svn: 138638
-
Chad Rosier authored
<rdar://problem/10027287> llvm-svn: 138637
-
Axel Naumann authored
llvm-svn: 138631
-
John McCall authored
better. llvm-svn: 138628
-
John McCall authored
really shouldn't be optional. Fix the remaining place where a temporary was being passed as potentially-aliased memory. Fixes PR10756. llvm-svn: 138627
-
John McCall authored
llvm-svn: 138624
-
Chad Rosier authored
llvm-svn: 138617
-
John McCall authored
bridged cast. Noticed by AST inspection by Ted Kremenek! llvm-svn: 138616
-
John McCall authored
llvm-svn: 138615
-
Chad Rosier authored
llvm-svn: 138614
-
Jeffrey Yasskin authored
Also convert stack-addr-ps.cpp to use the analyzer instead of just Sema, now that it doesn't crash, and extract the stack-block test into another file since it errors, and that prevents the analyzer from running. llvm-svn: 138613
-
Chad Rosier authored
globals during codegen. Fixes <rdar://problem/10017909>. llvm-svn: 138612
-
Francois Pichet authored
llvm-svn: 138611
-
Francois Pichet authored
llvm-svn: 138610
-
Ivan Krasin authored
llvm-svn: 138607
-
Matt Beaumont-Gay authored
Much to everyone's surprise, the default constructor for TypeResult produces an instance with Invalid == false. This seems like a decision we may want to revisit. llvm-svn: 138601
-
John McCall authored
emit call results into potentially aliased slots. This allows us to properly mark indirect return slots as noalias, at the cost of requiring an extra memcpy when assigning an aggregate call result into a l-value. It also brings us into compliance with the x86-64 ABI. llvm-svn: 138599
-
Fariborz Jahanian authored
declated method in the class belongs to a synthesized property getter/setter. // rdar://10014946 llvm-svn: 138598
-
Douglas Gregor authored
Eliminate the -chained-pch flag and all of the frontend and libclang options associated with it. Chained PCH is the only way to build a PCH file that includes another PCH file llvm-svn: 138597
-
Douglas Gregor authored
llvm-svn: 138596
-
Douglas Gregor authored
from the given source. -emit-module behaves similarly to -emit-pch, except that Sema is somewhat more strict about the contents of -emit-module. In the future, there are likely to be more interesting differences. llvm-svn: 138595
-
Fariborz Jahanian authored
changes. // rdar://10015110 llvm-svn: 138594
-