- Sep 27, 2008
-
-
Devang Patel authored
- return attributes - inreg, zext and sext - parameter attributes - function attributes - nounwind, readonly, readnone, noreturn Return attributes use 0 as the index. Function attributes use ~0U as the index. llvm-svn: 56705
-
- Sep 26, 2008
-
-
Chris Lattner authored
DirectoryLookup::DirType into SourceManager.h llvm-svn: 56692
-
rdar://6243860Chris Lattner authored
to whether the fileid is a 'extern c system header' in addition to whether it is a system header, most of this is spreading plumbing around. Once we have that, PPLexerChange bases its "file enter/exit" notifications to PPCallbacks to base the system header state on FileIDInfo instead of HeaderSearch. Finally, in Preprocessor::HandleIncludeDirective, mirror logic in GCC: the system headerness of a file being entered can be set due to the #includer or the #includee. llvm-svn: 56688
-
Ted Kremenek authored
llvm-svn: 56672
-
Chris Lattner authored
directory is shadowed by a user directory in the lookup path, ignore the user directory not the system one. Not doing this can affect file lookup and the "is a system header" bit on locations. For example: clang -v -I/usr/include inc.c -E | & grep /usr/inc now prints: # 1 "/usr/include/i386/_types.h" 1 3 4 # 37 "/usr/include/i386/_types.h" 3 4 # 70 "/usr/include/i386/_types.h" 3 4 instead of: # 1 "/usr/include/i386/_types.h" 1 # 37 "/usr/include/i386/_types.h" # 70 "/usr/include/i386/_types.h" This is part of rdar://6243860. llvm-svn: 56669
-
Ted Kremenek authored
llvm-svn: 56668
-
Ted Kremenek authored
Move VLA processing logic from LiveVariables to CFG construction. This way all dataflow analyses "see" the VLA size expressions. llvm-svn: 56655
-
Steve Naroff authored
This fixes <rdar://problem/6248392> clang: Error when using address of stack variable inside block. llvm-svn: 56652
-
Ted Kremenek authored
Fixes <rdar://problem/6248086> llvm-svn: 56645
-
Daniel Dunbar authored
llvm-svn: 56642
-
Daniel Dunbar authored
llvm-svn: 56640
-
Daniel Dunbar authored
llvm-svn: 56639
-
Daniel Dunbar authored
llvm-svn: 56638
-
Daniel Dunbar authored
- This really needs to be automated and configurable. llvm-svn: 56635
-
Ted Kremenek authored
Fixes: <rdar://problem/6248119> @finally doesn't introduce a new scope llvm-svn: 56629
-
- Sep 25, 2008
-
-
Devang Patel authored
s/ParamAttr/Attribute/g s/PAList/AttrList/g s/FnAttributeWithIndex/AttributeWithIndex/g s/FnAttr/Attribute/g This sets the stage - to implement function notes as function attributes and - to distinguish between function attributes and return value attributes. llvm-svn: 56623
-
Ted Kremenek authored
Documentation and testing are pending. llvm-svn: 56611
-
Steve Naroff authored
Downgrade incompatible block pointer error to a warning (to be consistent with incompatible pointer warnings in general). llvm-svn: 56595
-
-
- Sep 24, 2008
-
-
Steve Naroff authored
This fixes <rdar://problem/6240616> clang: Assertion failed when using typedef and Blocks. llvm-svn: 56554
-
Daniel Dunbar authored
llvm-svn: 56547
-
Daniel Dunbar authored
Also, "simple" getter synthesis no longer uses temporary AST objects. llvm-svn: 56544
-
Daniel Dunbar authored
- Add CodeGenFunction::{EmitReturnOfRValue, EmitIvarOffset} - Factor EmitLValueForIvar out of EmitObjCIvarRefLValue. No non-error functionality change (some unsupported errors are degraded to asserts for the time being). llvm-svn: 56543
-
Daniel Dunbar authored
implementing property access. llvm-svn: 56542
-
Devang Patel authored
llvm-svn: 56538
-
Devang Patel authored
Rename to match changes done on llvm side. llvm-svn: 56537
-
- Sep 23, 2008
-
-
Daniel Dunbar authored
- readonly and readwrite are mutually exclusive. - assign, copy, and retain are mutually exclusive. - copy and retain are invalid on non-object types. - Warn about using default 'assign' property on object types (attempting to follow gcc behavior). llvm-svn: 56507
-
-
Daniel Dunbar authored
- PR2824 llvm-svn: 56491
-
Daniel Dunbar authored
for type. - PR2817 llvm-svn: 56482
-
- Sep 22, 2008
-
-
Ted Kremenek authored
llvm-svn: 56440
-
Steve Naroff authored
llvm-svn: 56438
-
-
- Sep 21, 2008
-
-
Ted Kremenek authored
llvm-svn: 56405
-
Ted Kremenek authored
llvm-svn: 56403
-
Ted Kremenek authored
llvm-svn: 56402
-
Ted Kremenek authored
llvm-svn: 56401
-
Ted Kremenek authored
Added experimental "intelligent-sizing" of HTML message bubbles based on the contents of the message. llvm-svn: 56400
-
Ted Kremenek authored
llvm-svn: 56394
-
- Sep 20, 2008
-
-
Ted Kremenek authored
Changed casing of many bug names. The convention will be to have bug names (mostly) lower cased, and categories use some capitalization. llvm-svn: 56385
-