aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-15We now support all MMX intrinsics. SSE intrinsics are next.Anders Carlsson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45062 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-15simplify the interfaces to ProcessInputFile and InitializePreprocessorChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45060 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-15Removed "isSizeOfExpr" mode from StmtIterator. It turned out not to beTed Kremenek
so useful and introduced a few bugs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45051 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-14Added "mode" to StmtIterator to record if the expression being iteratedTed Kremenek
over is the subexpression of a sizeof(expression). Different clients will wish to handle iteration over such subexpressions differently, and can now easily query if they are iterating over such statements using the StmtIterator's inSizeOfExpr(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45047 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-14- Remove getInstanceMethods/getClassMethods API on ObjcInterfaceDecl, ↵Steve Naroff
ObjcProtocolDecl, and ObjcCategoryDecl. These methods are replaced by the respective iterators on each class. - Add getInstanceMethodForSelector to ObjcInterfaceDecl, ObjcProtocolDecl, and ObjcCatgoryDecl. This hook will do a "shallow" lookup. This is a convenience method that reducing some of the iterator usage. - Various changes to convert all clients to the above API's... git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45046 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-14Added support to StmtIterator to traverse the size expression of a VLA typeTed Kremenek
declared in a sizeof. For example: sizeof(int[foo()]); the expression "foo()" is an expression that is executed during the evaluation of sizeof. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45043 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-14Simplify the vector code. Add more shift intrinsics.Anders Carlsson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45035 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-14IE Menu Problem...Kevin
Originally, I included CSS hacks for IE. However, my comments before the doctype was the reason IE was running in non-strict mode. I did not know this. When Chris removed the comments, IE correctly went into strict mode and my IE hacks were no longer needed (the hacks were getting in the way now). solution: *) Make sure doctype is first on all files *) removed all IE hacks from menu.css (since the doctype issue fixes IE) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45025 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-14Array subscription in aggregate expressionSeo Sanghyeon
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45023 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-14Implement dereference operator in aggregate expressionSeo Sanghyeon
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45020 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13CFG bug fix: for sizeof(expressions), don't expand the control-flowTed Kremenek
of "expressions", since they are not really evaluated. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45015 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Patch to make ObjcQualifiedInterfaceType inherit ObjcInterfaceTypeFariborz Jahanian
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45014 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Sema::ActOnFinishFunctionBody(): Since we no longer synthesize a ↵Steve Naroff
FunctionDecl for each method, remove the unconditional initialization to 0 and corresponding comment. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45008 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Add hack to SourceManager to support missing source files duringTed Kremenek
deserialization. Eventually this should be replaced with a lazy-reading mechanism that only reads source files when they are needed by clients. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45007 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Add check in the driver to see if a serialized AST file has been successfullyTed Kremenek
deserialized. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45006 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Changed set of top-level decls from a list to a vector.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45005 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Changed -serialize-ast to not create a temporary directory, but insteadTed Kremenek
create a .ast file in the current working directory. This mirrors the behavior of the -c option for gcc. Later we should add the ability to write the serialized file anywhere. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45004 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Set target data layout info in module.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45003 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13typoChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45002 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13debug info too.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45001 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Minor spelling; punctuation correction.Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45000 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Grammar fix: correct ' usage.Bill Wendling
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44998 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13minor cleanupsChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44996 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13add some builtins.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44995 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13simplify some code.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44994 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Don't do integer promotions of LHS for compound shift assignment. The LHS ↵Chris Lattner
has to be a modifiable lvalue. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44993 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13remove some dead styles.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44992 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13nuke hte status page.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44991 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13add a bunch of open projectsChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44990 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Updated serialization of ParmVarDecl to serialize out objcDeclQualifier.Ted Kremenek
Previously this field was serialized out in VarDecl (a parent class), but now the field belongs to ParmVarDecl. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44989 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13split get_involved into two pages: get_started and get_involved.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44988 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13wrap to 80 cols, many fixes to markup.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44985 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13For uninitialized values analysis, added special treatment for declarationsTed Kremenek
of array types. For things like: char x[10]; we should treat "x" as being initialized, because the variable "x" really refers to the memory block of the array. Clearly x[1] is uninitialized, but expressions like "(char*) x" really do refer to an initialized value. This simple dataflow analysis does not reason about the contents of arrays. This fixes: PR 1859 (http://llvm.org/bugs/show_bug.cgi?id=1859) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44984 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Fix file header.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44983 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Fixed bug in live-variable analysis and uninitialized-values analysis whereTed Kremenek
we incorrectly examine the expression within a sizeof() for use in computing dataflow values. This fixes: PR 1858 (http://llvm.org/bugs/show_bug.cgi?id=1858) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44982 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13use new interface.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44978 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13add a helper method.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44976 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Add assert to detect incomplete implementation work.Devang Patel
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44974 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Moved ObjcDeclQualifier to ParmVarDecl from VarDecl.Fariborz Jahanian
Ted, this change necessitates (de)/serialization of ParmVarDecl. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44972 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13builtin id 0 is invalid, don't use a slot for it.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44968 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Implemented -serialize-ast option for the driver. This is not really testedTed Kremenek
and is a work in progress. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44967 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-13Fixed test to match the new diagnostic text.Fariborz Jahanian
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44966 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-12Concatenation of objc strings.Fariborz Jahanian
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44964 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-12fix off-by-one error.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44963 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-12Implemented prototype mode where the driver can operate on serialized ASTsTed Kremenek
instead of source files. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44962 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-12TargetInfo no longer includes a reference to SourceManager.Ted Kremenek
Moved all clients of Diagnostics to use FullSourceLoc instead of SourceLocation. Added many utility methods to FullSourceLoc to provide shorthand for: FullLoc.getManager().someMethod(FullLoc.getLocation()); instead we have: FullLoc.someMethod(); Modified TextDiagnostics (and related classes) to use this short-hand. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44957 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-12Encode enumeral types.Steve Naroff
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44956 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-12Removed "NULL" from default construction of FullSourceLoc (compilation errors onTed Kremenek
some systems). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44953 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-12constified getFullLoc().Ted Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44951 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-12Changes to FullSourceLoc:Ted Kremenek
- Added cstor that takes no arguments to create an "invalid" location. - Removed non-const version of getSourceManager(). - Renamed getSourceManager() to getManager. - Remover operator SourceLocatio(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44950 91177308-0d34-0410-b5e6-96231b3b80d8