| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Add driver::types::isObjC predicate. | Daniel Dunbar | 2009-11-17 | 2 | -0/+16 | |
| | | | | | llvm-svn: 89064 | |||||
| * | Add EvalEndPath interface to Checker. Now we can check memory leaked at the | Zhongxing Xu | 2009-11-17 | 4 | -32/+70 | |
| | | | | | | | end of the path. Need to unify interfaces. llvm-svn: 89063 | |||||
| * | Fail less mysteriously; inform the user that their LLVM was not built with | Nick Lewycky | 2009-11-17 | 1 | -0/+3 | |
| | | | | | | | | libffi support and that the interpreter can't call external functions without it. Patch by Timo Juhani Lindfors! Fixes PR5466. llvm-svn: 89062 | |||||
| * | Store "sugared" decls in LookupResults (i.e. decl aliases like using ↵ | John McCall | 2009-11-17 | 3 | -48/+53 | |
| | | | | | | | | | | | | | declarations); strip the sugar off in getFoundDecl() and getAsSingleDecl(), but leave it on for clients like overload resolution who want to use the iterators. Refactor a few pieces of overload resolution to strip off using declarations in a single place. Don't do anything useful with the extra context knowledge yet. llvm-svn: 89061 | |||||
| * | Clear the dest set. | Zhongxing Xu | 2009-11-17 | 1 | -0/+1 | |
| | | | | | llvm-svn: 89060 | |||||
| * | Fixed call to wrong constructor. | Lang Hames | 2009-11-17 | 1 | -1/+1 | |
| | | | | | llvm-svn: 89059 | |||||
| * | Move -fnext-runtime defaulting to driver (and change clang-cc default to | Daniel Dunbar | 2009-11-17 | 46 | -65/+58 | |
| | | | | | | | -fnext-runtime), instead of using getDefaultLangOptions. llvm-svn: 89058 | |||||
| * | Move -fms-extensions defaulting to driver, instead of using ↵ | Daniel Dunbar | 2009-11-17 | 3 | -11/+8 | |
| | | | | | | | getDefaultLangOptions. llvm-svn: 89057 | |||||
| * | Fix a race condition in the Timer class. | Owen Anderson | 2009-11-17 | 1 | -38/+5 | |
| | | | | | llvm-svn: 89056 | |||||
| * | Sort visitor methods. No functionality change. | Ted Kremenek | 2009-11-17 | 1 | -22/+24 | |
| | | | | | llvm-svn: 89055 | |||||
| * | Be more careful with anonymous namespaces, since Clang diagnoses the ↵ | Douglas Gregor | 2009-11-17 | 1 | -19/+9 | |
| | | | | | | | ambiguity here llvm-svn: 89054 | |||||
| * | Move char-is-signed defaulting to driver, instead of using | Daniel Dunbar | 2009-11-17 | 3 | -25/+25 | |
| | | | | | | | getDefaultLangOptions. llvm-svn: 89053 | |||||
| * | Add newline at the end of the file. | Ted Kremenek | 2009-11-17 | 1 | -1/+1 | |
| | | | | | llvm-svn: 89052 | |||||
| * | Silence some warnings produced by Clang, and add a missing header | Douglas Gregor | 2009-11-17 | 6 | -11/+12 | |
| | | | | | llvm-svn: 89051 | |||||
| * | Implement template instantiation for using directives, which is dead simple. | Douglas Gregor | 2009-11-17 | 2 | -2/+25 | |
| | | | | | | | | | Also, make the "don't know how to instantiate a particular kind of declaration" diagnostic nicer, so we don't have to trap Clang in a debugger to figure out what went wrong. llvm-svn: 89050 | |||||
| * | Add initial cut at CompilerInvocation::toArgs, which "serializes" the ↵ | Daniel Dunbar | 2009-11-17 | 3 | -0/+571 | |
| | | | | | | | | | CompilerInvocation into a list of arguments which can be passed to clang-cc (eventually, clang -cc1). - Unfortunately, this is currently a tedious and manual translation. Eventually it would be nice to automatically generate this code. llvm-svn: 89049 | |||||
| * | Instead of hanging a using declaration's target decls directly off the using | John McCall | 2009-11-17 | 13 | -63/+230 | |
| | | | | | | | | decl, create shadow declarations and put them in scope like normal. Work in progress. llvm-svn: 89048 | |||||
| * | Simplify PreprocessorOptions, it doesn't need abstracted field access. | Daniel Dunbar | 2009-11-17 | 5 | -74/+24 | |
| | | | | | llvm-svn: 89047 | |||||
| * | Have clang_getCursorSource() return NULL when the source location is invalid ↵ | Ted Kremenek | 2009-11-17 | 3 | -13/+23 | |
| | | | | | | | or refers to a built-in buffer. Implements <rdar://problem/7296243>. llvm-svn: 89044 | |||||
| * | Add missing #include found by Clang | Douglas Gregor | 2009-11-17 | 1 | -0/+1 | |
| | | | | | llvm-svn: 89043 | |||||
| * | Require the object type of a member access expression ("." or "->") to | Douglas Gregor | 2009-11-17 | 5 | -9/+31 | |
| | | | | | | | be complete. llvm-svn: 89042 | |||||
| * | Reorder options alphabetically. | Daniel Dunbar | 2009-11-17 | 1 | -14/+14 | |
| | | | | | llvm-svn: 89041 | |||||
| * | Move InitializeAnalyzerOptions for consistency. | Daniel Dunbar | 2009-11-17 | 1 | -19/+18 | |
| | | | | | llvm-svn: 89040 | |||||
| * | Remove unused NoPreprocess variable. | Daniel Dunbar | 2009-11-17 | 1 | -5/+0 | |
| | | | | | llvm-svn: 89039 | |||||
| * | Remove unused program action. | Daniel Dunbar | 2009-11-17 | 1 | -1/+0 | |
| | | | | | llvm-svn: 89038 | |||||
| * | Rename CompilerInvocation::DiagOpts -> DiagnosticOpts for consistency. | Daniel Dunbar | 2009-11-17 | 1 | -3/+3 | |
| | | | | | llvm-svn: 89037 | |||||
| * | Add missing defaults to AnalyzerOptions. | Daniel Dunbar | 2009-11-17 | 1 | -0/+3 | |
| | | | | | llvm-svn: 89036 | |||||
| * | Remove unused IsCXXAware and IgnoreSysRoots option from ↵ | Daniel Dunbar | 2009-11-17 | 3 | -23/+16 | |
| | | | | | | | HeaderSearchOptions::Entry. llvm-svn: 89035 | |||||
| * | Unify the way destructor epilogues are generated for synthesized and regular ↵ | Anders Carlsson | 2009-11-17 | 8 | -315/+144 | |
| | | | | | | | destructors. Also fix PR5529. llvm-svn: 89034 | |||||
| * | More const is always good. | Anders Carlsson | 2009-11-17 | 2 | -6/+6 | |
| | | | | | llvm-svn: 89033 | |||||
| * | Add a comment. | Zhongxing Xu | 2009-11-17 | 1 | -1/+1 | |
| | | | | | llvm-svn: 89032 | |||||
| * | Fix typo. Thanks Ted. | Mike Stump | 2009-11-17 | 1 | -1/+1 | |
| | | | | | llvm-svn: 89031 | |||||
| * | Add typeinfo support for T* and const T* for all builtin types T. | Mike Stump | 2009-11-17 | 2 | -1/+18 | |
| | | | | | llvm-svn: 89030 | |||||
| * | Add test to verify that the analyzer plist output is what we expect. | Ted Kremenek | 2009-11-17 | 1 | -0/+122 | |
| | | | | | llvm-svn: 89029 | |||||
| * | Add typeid for the builtin types. WIP. | Mike Stump | 2009-11-17 | 4 | -11/+44 | |
| | | | | | llvm-svn: 89028 | |||||
| * | Carry lookup configuration throughout lookup on the LookupResult. Give | John McCall | 2009-11-17 | 11 | -223/+325 | |
| | | | | | | | | | | | | | | LookupResult RAII powers to diagnose ambiguity in the results. Other diagnostics (e.g. access control and deprecation) will be moved to automatically trigger during lookup as part of this same mechanism. This abstraction makes it much easier to encapsulate aliasing declarations (e.g. using declarations) inside the lookup system: eventually, lookup will just produce the aliases in the LookupResult, and the standard access methods will naturally strip the aliases off. llvm-svn: 89027 | |||||
| * | Fix tests after enabling -split-phi-edges. | Jakob Stoklund Olesen | 2009-11-17 | 2 | -11/+11 | |
| | | | | | | | | | object-size.c aws simply too fragile. constructor-default-arg.cpp triggers an issue when LiveVariables is run before RALocal. llvm-svn: 89025 | |||||
| * | Refactor the code that creates the "dot-label" difference. This may be used in | Bill Wendling | 2009-11-17 | 2 | -18/+29 | |
| | | | | | | | more than one place. No intended functionality change. llvm-svn: 89024 | |||||
| * | PR5526: Make sure to set the right cast kinds for the inserted implicit casts. | Eli Friedman | 2009-11-17 | 2 | -2/+10 | |
| | | | | | llvm-svn: 89023 | |||||
| * | When moving a block for table jumps, make sure the prior block terminator | Jim Grosbach | 2009-11-17 | 1 | -7/+9 | |
| | | | | | | | | is analyzable so it can be updated. If it's not, be safe and don't move the block. llvm-svn: 89022 | |||||
| * | Enable -split-phi-edges by default | Jakob Stoklund Olesen | 2009-11-17 | 3 | -3/+9 | |
| | | | | | llvm-svn: 89021 | |||||
| * | MOV64rm should be marked isReMaterializable. | Evan Cheng | 2009-11-17 | 2 | -1/+43 | |
| | | | | | llvm-svn: 89019 | |||||
| * | When querying type qualifiers on QualType via one of the "non-local" | Douglas Gregor | 2009-11-17 | 3 | -28/+86 | |
| | | | | | | | | | | | | | | | interfaces (which are used throughout the front end), combine the qualifiers on the QualType instance with the qualifiers on the canonical type to produce the set of qualifiers that, semantically, apply to that type. This should design away a large category of "qualifier-hidden-behind-a-typedef" buts like we saw in PR5383. Performance-wise, this caused a regression of ~0.5% on Cocoa.h, but it's totally worth it. We may actually be able to get a little more performance back by using CanQualType more often. llvm-svn: 89018 | |||||
| * | Remove the optimizations that convert BRCOND and BR_CC into | Dan Gohman | 2009-11-17 | 1 | -17/+12 | |
| | | | | | | | | | | | unconditional branches or fallthroghes. Instcombine/SimplifyCFG should be simplifying branches with known conditions. This fixes some problems caused by these transformations not updating the MachineBasicBlock CFG. llvm-svn: 89017 | |||||
| * | Remove debug info attached with an instruction. | Devang Patel | 2009-11-17 | 1 | -36/+18 | |
| | | | | | llvm-svn: 89016 | |||||
| * | Ensure we peer through () when handling typeid(*p). | Mike Stump | 2009-11-17 | 2 | -2/+2 | |
| | | | | | llvm-svn: 89015 | |||||
| * | In GlobalVariable::setInitializer, assert that the initializer has the | Jeffrey Yasskin | 2009-11-17 | 2 | -12/+19 | |
| | | | | | | | right type. llvm-svn: 89014 | |||||
| * | Remove extra space in warn_maynot_respond diagnostic. Fixes ↵ | Ted Kremenek | 2009-11-17 | 3 | -3/+3 | |
| | | | | | | | <rdar://problem/7364274>. llvm-svn: 89013 | |||||
| * | Note why this doesn't yet work. | Mike Stump | 2009-11-17 | 1 | -1/+2 | |
| | | | | | llvm-svn: 89012 | |||||
| * | A few more instructions that should be marked re-materializable. | Evan Cheng | 2009-11-17 | 2 | -4/+7 | |
| | | | | | llvm-svn: 89011 | |||||

