| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
lib dir and move all the libraries into it. This follows the main
llvm tree, and allows the libraries to be built in parallel. The
top level now enforces that all the libs are built before Driver,
but we don't care what order the libs are built in. This speeds
up parallel builds, particularly incremental ones.
llvm-svn: 48402
|
| |
|
|
|
|
|
| |
Set the start of DeclStmt range. Right now the end is meaningless
though.
llvm-svn: 48330
|
| |
|
|
| |
llvm-svn: 47530
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The patch fixes some debug assertions that the msvcrt throws:
1)
- if (isprint(value) && value < 256) {
+ if (value < 256 && isprint(value)) {
isprint() does an assertion check of its own for value < 256; check value before calling it to prevent it.
2)
- Stmt->Names.push_back(std::string(&data[0], data.size()));
+ if (data.size() == 0)
+ Stmt->Names.push_back(std::string());
+ else
+ Stmt->Names.push_back(std::string(&data[0], data.size()));
If data.size() == 0 then data[0] throws "out of range" assertion.
llvm-svn: 47512
|
| |
|
|
|
|
| |
in a smaller encoding on disk.
llvm-svn: 46832
|
| |
|
|
| |
llvm-svn: 46830
|
| |
|
|
| |
llvm-svn: 46777
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
next @catch)
and put the the next ObjcAtCatchStmt* as part of SubExprs. This fixes a bug with
iterating over the children of ObjcAtCatch, where the next @catch was not
properly being iterated over as a child.
Altered serialization of ObjCAtCatchStmt to reflect this new layout of
its subexpressions, and fixed an ownership issue with the next @catch not
being serialized as an owned pointer.
llvm-svn: 46647
|
| |
|
|
|
|
| |
@sychronized to be rewritten.
llvm-svn: 46533
|
| |
|
|
|
|
|
|
|
| |
- Some minor optimizations of the encoding format for ObjCAtSynchronizedStmt.
- Reordered methods so that the deserialization methods for
ObjCAtSynchronizedStmt appear in alphabetical order with the corresponding
methods of the other AST nodes.
llvm-svn: 46529
|
| |
|
|
| |
llvm-svn: 46524
|
| |
|
|
|
|
|
| |
serializing the subexpression (Init), as this results in a more efficient
encoding in the bitstream.
llvm-svn: 45967
|
| |
|
|
|
|
|
|
| |
implement C99 6.5.2.5p6. This could have been done without modifying the AST (by checking the decl type and passing the info down to isContextExpr), however we concluded this is more desirable.
Bug/patch by Eli Friedman!
llvm-svn: 45966
|
| |
|
|
| |
llvm-svn: 45793
|
| |
|
|
|
|
|
| |
some naming inconsistencies in the names of classes pertaining to Objective-C
support in clang.
llvm-svn: 45715
|
| |
|
|
|
|
|
| |
are now emitted in a batch, which reduces the metadata overhead in the
serialized bitcode.
llvm-svn: 45710
|
| |
|
|
|
|
| |
with the rest of the Objective-C serialization code.
llvm-svn: 45609
|
| |
|
|
| |
llvm-svn: 45598
|
| |
|
|
| |
llvm-svn: 45511
|
| |
|
|
| |
llvm-svn: 45504
|
| |
|
|
|
|
| |
discussion of this change.
llvm-svn: 45410
|
| |
|
|
| |
llvm-svn: 44593
|
| |
|
|
| |
llvm-svn: 44568
|
| |
|
|
| |
llvm-svn: 44567
|
| |
|
|
| |
llvm-svn: 44566
|
| |
|
|
| |
llvm-svn: 44564
|
| |
|
|
| |
llvm-svn: 44563
|
| |
|
|
|
|
|
|
| |
the APFloat representing the parsed literal can represent the literal value
exactly. This is useful when performing various semantic checks on the code,
and issuing appropriate warnings to users.
llvm-svn: 44423
|
| |
|
|
| |
llvm-svn: 44297
|
| |
|
|
|
|
| |
AsmStmt. Ted, could you please review the serialization/deserialization code?
llvm-svn: 44266
|
| |
|
|
| |
llvm-svn: 44255
|
| |
|
|
|
|
|
| |
own the decl they reference if it is a FunctionDecl. Note that his
ownership property is still considered a hack, and should be fixed.
llvm-svn: 44192
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some FunctionDecls do not appear at the top-level or are owned by a DeclStmt.
In calls to implicitly defined functions, a FunctionDecl is created, but only
the DeclRefExprs reference them. Since an implicitly defined function may be
called multiple times, there is no clear ownership model for such objects.
Temporary solution: when serializing out DeclRefExprs, emit an ownership bit
for the Decl. This bit is determined by querying the serializer to see if the
Decl has already been serialized. If it hasn't, emit the Decl as an owned
pointer.
I repeat: this is a hack. This should be fixed.
llvm-svn: 44176
|
| |
|
|
|
|
| |
Added missing deserialization case in Stmt::Create() switch statement.
llvm-svn: 44175
|
| |
|
|
| |
llvm-svn: 44137
|
| |
|
|
| |
llvm-svn: 44134
|
| |
|
|
|
|
| |
in AsmStmt).
llvm-svn: 44077
|
| |
|
|
| |
llvm-svn: 44075
|
| |
|
|
| |
llvm-svn: 44074
|
| |
|
|
|
|
| |
the new serialization API.
llvm-svn: 44035
|
| |
|
|
|
|
| |
directMaterialize to CreateImpl.
llvm-svn: 44020
|
| |
|
|
| |
llvm-svn: 44016
|
| |
|
|
|
|
|
|
| |
Implemented serialization of ConditionalOperator.
Implemented serialization of StmtExpr.
Fixed bug in serialization of IndirectGoto (did not properly serialize subexpression).
llvm-svn: 43891
|
| |
|
|
|
|
| |
subexpressions) all together in one block at the end.
llvm-svn: 43862
|
| |
|
|
| |
llvm-svn: 43860
|
| |
|
|
| |
llvm-svn: 43858
|
| |
|
|
| |
llvm-svn: 43854
|
| |
|
|
|
|
|
| |
Added "using ..." for "Serializer" and "Deserializer" to reduce amount
of typing for serialization methods.
llvm-svn: 43849
|
| |
|
|
| |
llvm-svn: 43848
|
| |
|
|
| |
llvm-svn: 43847
|