| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 45760
|
|
|
|
| |
llvm-svn: 45597
|
|
|
|
| |
llvm-svn: 45530
|
|
|
|
| |
llvm-svn: 45504
|
|
|
|
| |
llvm-svn: 45379
|
|
|
|
|
|
|
| |
"Here's a tiny patch that lets the clang Xcode project build in any
location, so llvm doesn't have to be checked out in your home folder."
llvm-svn: 45376
|
|
|
|
| |
llvm-svn: 45373
|
|
|
|
|
|
| |
introduced in r45292 (http://llvm.org/viewvc/llvm-project?rev=45292&view=rev)
llvm-svn: 45293
|
|
|
|
|
|
| |
Added AST/ASTConsumer.cpp to XCode project.
llvm-svn: 45206
|
|
|
|
| |
llvm-svn: 45205
|
|
|
|
|
|
| |
the protocol list (id<P,...> types).
llvm-svn: 45121
|
|
|
|
| |
llvm-svn: 45119
|
|
|
|
| |
llvm-svn: 45106
|
|
|
|
| |
llvm-svn: 45095
|
|
|
|
| |
llvm-svn: 45089
|
|
|
|
| |
llvm-svn: 44956
|
|
|
|
| |
llvm-svn: 44938
|
|
|
|
| |
llvm-svn: 44925
|
|
|
|
| |
llvm-svn: 44908
|
|
|
|
|
|
|
|
| |
this is passed to sema and ignored there, so the second part of the
string will not make it into the AST. Passing to Fariborz to finish
Sema + AST construction.
llvm-svn: 44898
|
|
|
|
|
|
| |
used by CGBuiltin.cpp
llvm-svn: 44748
|
|
|
|
|
|
| |
XCode project.
llvm-svn: 44632
|
|
|
|
| |
llvm-svn: 44625
|
|
|
|
| |
llvm-svn: 44484
|
|
|
|
| |
llvm-svn: 44468
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following code...
typedef struct cssm_data {} CSSM_DATA, *CSSM_DATA_PTR;
struct Y { int A; };
struct X { int A; } D;
struct X E, F;
...now produces the following output...
> ../../Debug/bin/clang xx.c -ast-print
Read top-level tag decl: 'cssm_data'
typedef struct cssm_data CSSM_DATA;
typedef struct cssm_data *CSSM_DATA_PTR;
Read top-level tag decl: 'Y'
Read top-level tag decl: 'X'
Read top-level variable decl: 'D'
Read top-level variable decl: 'E'
Read top-level variable decl: 'F'
...which is much more accurate than the previous -ast-print output...
typedef struct cssm_data CSSM_DATA;
typedef struct cssm_data CSSM_DATA;
Read top-level variable decl: 'D'
Read top-level variable decl: 'E'
Read top-level variable decl: 'E'
llvm-svn: 44421
|
|
|
|
|
|
|
|
| |
void.
Bug pointed out by Michael Zolda, thanks!
llvm-svn: 44408
|
|
|
|
|
|
|
|
|
| |
Moved utility functions IgnoreParen and friends to be static inline functions
defined in SemaUtil.h.
Added SemaUtil.h to Xcode project.
llvm-svn: 44312
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Sema::UsualArithmeticConversions().
This resuled in the following crash below.
Also modified the usual-float.c test case to capture this case.
[steve-naroffs-imac:clang/test/Sema] snaroff% ../../../../Debug/bin/clang usual-float.c
Assertion failed: (0 && "Sema::UsualArithmeticConversions(): illegal float comparison"), function UsualArithmeticConversions, file SemaExpr.cpp, line 960.
0 clang 0x001ef9b9 _ZN40_GLOBAL__N_Signals.cpp_00000000_4E6DAF8315PrintStackTraceEv + 45
1 clang 0x001efd5f _ZN40_GLOBAL__N_Signals.cpp_00000000_4E6DAF8313SignalHandlerEi + 323
2 libSystem.B.dylib 0x90c6297b _sigtramp + 43
3 ??? 0xffffffff 0x0 + 4294967295
4 libSystem.B.dylib 0x90cdb782 raise + 26
5 libSystem.B.dylib 0x90cead3f abort + 73
6 libSystem.B.dylib 0x90cdc923 __assert_rtn + 101
7 clang 0x00077316 _ZN5clang4Sema26UsualArithmeticConversionsERPNS_4ExprES3_b + 1004
8 clang 0x000803cf _ZN5clang4Sema27CheckMultiplyDivideOperandsERPNS_4ExprES3_NS_14SourceLocationEb + 181
9 clang 0x0007a8e8 _ZN5clang4Sema10ActOnBinOpENS_14SourceLocationENS_3tok9TokenKindEPvS4_ + 472
10 clang 0x000cf058 _ZN5clang6Parser26ParseRHSOfBinaryExpressionENS_6Action12ActionResultILj0EEEj + 1286
11 clang 0x000cf2de _ZN5clang6Parser25ParseAssignmentExpressionEv + 86
llvm-svn: 43985
|
|
|
|
|
|
|
| |
whether the location is the start and/or end of an expansion.
These are currently not set or used by anything.
llvm-svn: 43968
|
|
|
|
| |
llvm-svn: 43947
|
|
|
|
| |
llvm-svn: 43905
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
text
backing a rewrite buffer than using an std::vector<char>. This class was hacked
together very quickly and needs to be cleaned up, but it seems to work. It speeds
up rewriting a a 7M file from 6.43s to 0.24s on my machine. The impl could also
be made to be a lot more algorithmically sound.
This produces identical output to using vector on this testcase, if it causes a
problems or bugs are encountered, it can be disabled by changing the
RewriteBuffer::Buffer typedef back.
llvm-svn: 43884
|
|
|
|
| |
llvm-svn: 43710
|
|
|
|
| |
llvm-svn: 43604
|
|
|
|
|
|
| |
been generated).
llvm-svn: 43600
|
|
|
|
| |
llvm-svn: 43580
|
|
|
|
|
|
|
|
|
|
|
|
| |
long standing FIXME in Sema::GetObjcIdType()).
This removes several gross hacks to work around the previous "lazy" behavior.
Two notes:
- MinimalActions still needs to be taught about the built-in types (This breaks one of the -noop test cases). I started this, then added a FIXME.
- I didn't convert Sema::GetObjcProtoType() yet.
llvm-svn: 43567
|
|
|
|
| |
llvm-svn: 43556
|
|
|
|
| |
llvm-svn: 43543
|
|
|
|
|
|
|
|
| |
objective-c's type qualifiers.
Added initialization of Class/SEMA types.
llvm-svn: 43534
|
|
|
|
|
|
| |
generate these declaration on the fly when rewriting a message expression.
llvm-svn: 43529
|
|
|
|
| |
llvm-svn: 43504
|
|
|
|
|
|
| |
rewritten properly).
llvm-svn: 43494
|
|
|
|
| |
llvm-svn: 43481
|
|
|
|
|
|
| |
SourceLocation's for interfaces/protocols/categories/implementations.
llvm-svn: 43475
|
|
|
|
| |
llvm-svn: 43445
|
|
|
|
|
|
|
| |
resolving a crash on a .i file in PR1750. We now generate 49 errors on the
.i file in that bug.
llvm-svn: 43433
|
|
|
|
| |
llvm-svn: 43409
|
|
|
|
|
|
| |
This involved refining how the parser/AST passes/manages SourceLocations for ObjcMethodDecl's.
llvm-svn: 43404
|