| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
rename FloatingConstant->FloatingLiteral
rename StringExpr->StringLiteral
llvm-svn: 39341
|
|
|
|
| |
llvm-svn: 39338
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
whose decl objects are lazily created the first time they are referenced.
Builtin functions are described by the clang/AST/Builtins.def file, which
makes it easy to add new ones.
This is missing two important pieces:
1. Support for the rest of the gcc builtins.
2. Support for target-specific builtins (e.g. __builtin_ia32_emms).
Just adding this builtins reduces the number of implicit function definitions
by 6, reducing the # diagnostics from 550 to 544 when parsing carbon.h.
I need to add all the i386-specific ones to eliminate several hundred more.
ugh.
llvm-svn: 39327
|
|
|
|
| |
llvm-svn: 39307
|
|
|
|
| |
llvm-svn: 39291
|
|
|
|
|
|
|
|
| |
int A() {
return X();
}
llvm-svn: 39194
|
|
|
|
| |
llvm-svn: 39193
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
typedef int X;
int A() {
return X;
}
int B() {
return Y;
}
as:
/Users/sabre/test.c:5:10: error: unexpected type name 'X': expected expression
return X;
^
/Users/sabre/test.c:9:10: error: use of undeclared 'Y' value
return Y;
^
llvm-svn: 39192
|
|
|
|
| |
llvm-svn: 39191
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
void foo(int X) {
X = __alignof(int);
X = sizeof(const int** restrict ** volatile*);
}
as:
x = __alignof(int)
x = sizeof(int const **restrict **volatile *)
llvm-svn: 39181
|
|
|
|
| |
llvm-svn: 39162
|
|
|
|
| |
llvm-svn: 39161
|
|
|
|
|
|
| |
to SemaDecl.cpp
llvm-svn: 39159
|
|
llvm-svn: 39155
|