- Dec 05, 2011
-
-
Anna Zaks authored
llvm-svn: 145827
-
Fariborz Jahanian authored
llvm-svn: 145824
-
Kostya Serebryany authored
llvm-svn: 145823
-
Douglas Gregor authored
(i.e., 'export *'), to better match the semantics of headers. llvm-svn: 145813
-
Douglas Gregor authored
llvm-svn: 145812
-
Douglas Gregor authored
to re-export anything that it imports. This opt-in feature makes a module behave more like a header, because it can be used to re-export the transitive closure of a (sub)module's dependencies. llvm-svn: 145811
-
Douglas Gregor authored
llvm-svn: 145809
-
Douglas Gregor authored
it imports, establishing dependencies at the (sub)module granularity. This is not a user-visible change (yet). llvm-svn: 145808
-
- Dec 04, 2011
-
-
David Blaikie authored
llvm-svn: 145785
-
Fariborz Jahanian authored
Function or array lvalue conversions happens. llvm-svn: 145782
-
- Dec 03, 2011
-
-
Douglas Gregor authored
types. Patch from Dmitri Rubinstein! llvm-svn: 145776
-
Douglas Gregor authored
a class is marked 'final', from Alberto Ganesh Barbati! Fixes PR11462. llvm-svn: 145775
-
Fariborz Jahanian authored
inferred from return types. All the return statements have to agree about the type. // rdar://10466373 llvm-svn: 145774
-
Francois Pichet authored
In Microsoft mode, don't perform typo correction in a template member function dependent context because it interferes with the "lookup into dependent bases of class templates" feature. Basically typo correction will try to offer a correction instead of looking into type dependent base classes. I found this problem while parsing Microsoft ATL code with clang. llvm-svn: 145772
-
Sebastian Redl authored
llvm-svn: 145769
-
Eli Friedman authored
llvm-svn: 145753
-
Argyrios Kyrtzidis authored
when deserialized, fixing random crashes in libclang. Also simplifies how OpaqueValueExprs are [de]serialized. The reader/writer automatically retains pointer equality of sub-statements (when a statement node is referenced in multiple nodes), so no need to manually handle it. llvm-svn: 145752
-
Eli Friedman authored
llvm-svn: 145747
-
Eli Friedman authored
llvm-svn: 145741
-
Douglas Gregor authored
Module files representing actual modules don't need to know the set of modules they import, since that information isn't actually used. Drop it from the AST file llvm-svn: 145738
-
Douglas Gregor authored
"main" files that import modules. When loading any of these kinds of AST files, we make the modules that were imported visible into the translation unit that loaded the PCH file or preamble. llvm-svn: 145737
-
Eli Friedman authored
Track alignment in AggValueSlot. No functional change in this patch, but I'll be introducing uses of the specified alignment soon. llvm-svn: 145736
-
Douglas Gregor authored
implicitly generated in a translation unit. Modules will need this information to identify the actual imports that occurred. llvm-svn: 145734
-
Douglas Gregor authored
implicit ImportDecl in the translation unit to record the presence of the import. llvm-svn: 145727
-
Douglas Gregor authored
__import_module__ std.vector; in the AST. llvm-svn: 145725
-
Nick Lewycky authored
lib/Analysis to lib/Sema which is cyclical. llvm-svn: 145724
-
- Dec 02, 2011
-
-
Nick Lewycky authored
llvm-svn: 145715
-
Douglas Gregor authored
precompiled header. Previously, we were trying to gather predefines buffers from all kinds of AST files (which doesn't make sense) and were performing some validation when AST files were loaded as main files. With these tweaks, using PCH files that import modules no longer fails immediately (due to mismatched predefines buffers). However, module visibility is lost, so this feature does not yet work. llvm-svn: 145709
-
Hans Wennborg authored
Use the canonical type of the typedef to compare with the underlying type. llvm-svn: 145702
-
Douglas Gregor authored
llvm-svn: 145700
-
Hans Wennborg authored
For example, the warning for printf("%zu", 42.0); changes from "conversion specifies type 'unsigned long'" to "conversion specifies type 'size_t' (aka 'unsigned long')" llvm-svn: 145697
-
Douglas Gregor authored
visible, allowing one to create modules that import (and then re-export) other modules. llvm-svn: 145696
-
Douglas Gregor authored
module map. llvm-svn: 145695
-
Douglas Gregor authored
(sub)module is read from an AST file. This makes sure that the AST writer knows how to map all modules to their global IDs. llvm-svn: 145685
-
Douglas Gregor authored
only the macro definitions from visible (sub)modules will actually be visible. This provides the same behavior for macros that r145640 provided for declarations. llvm-svn: 145683
-
-
Eric Christopher authored
and update the Sema testcase with a register that we won't hit for a while I hope. Fixes rdar://10510405 llvm-svn: 145671
-
Douglas Gregor authored
within module maps, which will (eventually) be used to re-export a module from another module. There are still some pieces missing, however. llvm-svn: 145665
-
Ted Kremenek authored
Fix test regression introduced by r145656. When seeing a string literal that isn't accepted by 'asm', skip to the enclosing ')'. llvm-svn: 145662
-
-