- 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
-
Ted Kremenek authored
llvm-svn: 56701
-
- 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
-
Chris Lattner authored
llvm-svn: 56687
-
Chris Lattner authored
llvm-svn: 56673
-
Ted Kremenek authored
llvm-svn: 56672
-
Chris Lattner authored
llvm-svn: 56670
-
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
llvm-svn: 56666
-
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: 56644
-
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
llvm-svn: 56636
-
Daniel Dunbar authored
- This really needs to be automated and configurable. llvm-svn: 56635
-
Daniel Dunbar authored
llvm-svn: 56634
-
Ted Kremenek authored
llvm-svn: 56633
-
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
llvm-svn: 56618
-
Daniel Dunbar authored
llvm-svn: 56617
-
Ted Kremenek authored
llvm-svn: 56612
-
Ted Kremenek authored
Documentation and testing are pending. llvm-svn: 56611
-
Daniel Dunbar authored
llvm-svn: 56606
-
Daniel Dunbar authored
llvm-svn: 56603
-
Ted Kremenek authored
llvm-svn: 56601
-
Ted Kremenek authored
llvm-svn: 56598
-
Steve Naroff authored
Downgrade incompatible block pointer error to a warning (to be consistent with incompatible pointer warnings in general). llvm-svn: 56595
-
Steve Naroff authored
llvm-svn: 56591
-
-
- Sep 24, 2008
-
-
Daniel Dunbar authored
llvm-svn: 56564
-
Daniel Dunbar authored
restricted to 127.0.0.1. llvm-svn: 56563
-
Ted Kremenek authored
llvm-svn: 56562
-
Steve Naroff authored
llvm-svn: 56560
-