| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 119965
|
| |
|
|
| |
llvm-svn: 119960
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
stdlib.h. There were numerous problems with forward declaring 'malloc' and
'free', but the most important is that these are reserved by POSIX and may be
implemented via a function-like macro.
As suggested by Dale Johannesen, I'm instead guarding the only include of this
in our builtin headers with __STDC_HOSTED__, and I've removed the include of
the header from the test suite. I'll discuss with folks whether we want to have
a hosted section of the test suite or not, and add it (and perhaps other tests)
back there if that's the direction.
llvm-svn: 119958
|
| |
|
|
| |
llvm-svn: 119957
|
| |
|
|
| |
llvm-svn: 119956
|
| |
|
|
| |
llvm-svn: 119955
|
| |
|
|
| |
llvm-svn: 119946
|
| |
|
|
|
|
| |
- Negative ChainingSize doesn't make sense, make it unsigned.
llvm-svn: 119943
|
| |
|
|
|
|
| |
seperator.
llvm-svn: 119939
|
| |
|
|
| |
llvm-svn: 119935
|
| |
|
|
|
|
| |
form.
llvm-svn: 119934
|
| |
|
|
| |
llvm-svn: 119924
|
| |
|
|
|
|
|
|
|
|
|
| |
A new AST node is introduced:
def IndirectField : DDecl<Value>;
IndirectFields are injected into the anonymous's parent scope and chain back to
the original field. Name lookup for anonymous entities now result in an
IndirectFieldDecl instead of a FieldDecl.
There is no functionality change, the code generated should be the same.
llvm-svn: 119919
|
| |
|
|
| |
llvm-svn: 119915
|
| |
|
|
| |
llvm-svn: 119900
|
| |
|
|
| |
llvm-svn: 119899
|
| |
|
|
| |
llvm-svn: 119897
|
| |
|
|
|
|
|
|
|
|
| |
expands to nothing"
and use a better and more general approach, where NullStmt has a flag to indicate whether it was preceded by an empty macro.
Thanks to Abramo Bagnara for the hint!
llvm-svn: 119887
|
| |
|
|
| |
llvm-svn: 119886
|
| |
|
|
|
|
|
|
|
|
|
| |
than a Token that holds the same information all in one easy-to-use
package. There's no technical reason to prefer the former -- the
information comes from a Token originally -- and it's clumsier to use,
so I've changed the code to use tokens everywhere.
Approved by clattner
llvm-svn: 119845
|
| |
|
|
| |
llvm-svn: 119839
|
| |
|
|
|
|
|
|
|
| |
if (condition)
CALL(0); // empty macro but don't warn for empty body.
Fixes rdar://8436021.
llvm-svn: 119838
|
| |
|
|
| |
llvm-svn: 119817
|
| |
|
|
| |
llvm-svn: 119814
|
| |
|
|
|
|
| |
Fixes //rdar://8686888
llvm-svn: 119813
|
| |
|
|
|
|
| |
it.
llvm-svn: 119809
|
| |
|
|
| |
llvm-svn: 119808
|
| |
|
|
| |
llvm-svn: 119807
|
| |
|
|
|
|
|
|
| |
protocol-qualifier list without a leading type (e.g., <#blah#>), don't
complain about it being an archaic protocol-qualifier list unless it
actually parses as one.
llvm-svn: 119805
|
| |
|
|
| |
llvm-svn: 119803
|
| |
|
|
|
|
| |
option name, category ID, and category name corresponding to a diagnostic.
llvm-svn: 119802
|
| |
|
|
| |
llvm-svn: 119765
|
| |
|
|
| |
llvm-svn: 119764
|
| |
|
|
|
|
| |
Move ErrorTrap from clang/Sema to clang/Basic as DiagnosticErrorTrap and use it in Scope.
llvm-svn: 119763
|
| |
|
|
|
|
|
| |
types was not being generated for objc pointers.
// rdar://8681766.
llvm-svn: 119751
|
| |
|
|
| |
llvm-svn: 119746
|
| |
|
|
| |
llvm-svn: 119741
|
| |
|
|
|
|
|
|
| |
VerifyDiagnosticsClient
and just check the number of errors from the DiagnosticClient.
llvm-svn: 119736
|
| |
|
|
| |
llvm-svn: 119735
|
| |
|
|
|
|
|
|
| |
keeping track
of the total number of warnings/errors reported.
llvm-svn: 119731
|
| |
|
|
|
|
|
|
|
|
|
| |
-Move the stuff of Diagnostic related to creating/querying diagnostic IDs into a new DiagnosticIDs class.
-DiagnosticIDs can be shared among multiple Diagnostics for multiple translation units.
-The rest of the state in Diagnostic object is considered related and tied to one translation unit.
-Have Diagnostic point to the SourceManager that is related with. Diagnostic can now accept just a
SourceLocation instead of a FullSourceLoc.
-Reflect the changes to various interfaces.
llvm-svn: 119730
|
| |
|
|
|
|
| |
out because there are still bugs left.
llvm-svn: 119722
|
| |
|
|
| |
llvm-svn: 119719
|
| |
|
|
| |
llvm-svn: 119698
|
| |
|
|
|
|
|
|
|
| |
http://llvm.org/bugs/show_bug.cgi?id=8558). This patch fixes it. Thanks to
rjmccall for all the coaching!
Approved by rjmccall
llvm-svn: 119697
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
store it on the expression node. Also store an "object kind",
which distinguishes ordinary "addressed" l-values (like
variable references and pointer dereferences) and bitfield,
@property, and vector-component l-values.
Currently we're not using these for much, but I aim to switch
pretty much everything calculating l-valueness over to them.
For now they shouldn't necessarily be trusted.
llvm-svn: 119685
|
| |
|
|
|
|
|
|
| |
CXXOperatorCallExpr represents method call.
Also fixed returning ExpolodedNodeSet from VisitCXXMethodCallExpr.
llvm-svn: 119684
|
| |
|
|
| |
llvm-svn: 119678
|
| |
|
|
|
|
|
|
|
| |
-Improve the diagnostic message
-Add some comments
Suggestions by Chris.
llvm-svn: 119594
|
| |
|
|
|
|
|
|
|
|
| |
definitions if they take by-value
or return by-value any POD that is larger than some threshold (default is 64 bytes).
Implements rdar://8548050.
llvm-svn: 119583
|