aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGDecl.cpp
AgeCommit message (Expand)Author
2010-05-04Emit the globals, metadata, etc. associated with static variables even whenJohn McCall
2010-05-04Fixes a Code Gen. Crash when calling destructor on a __blockFariborz Jahanian
2010-05-03Just bail out immediately when emitting an unreachable function-local staticJohn McCall
2010-05-02Add the same 'ForVirtualBase' parameter to EmitCXXDestructorCall.Anders Carlsson
2010-04-23I hate default statements. Fixes PR6874.Douglas Gregor
2010-04-19Some renaming of methods, fixes typoFariborz Jahanian
2010-04-18Local static variables must be available module-wiseFariborz Jahanian
2010-04-04Reapply patch for adding support for address spaces and added a isVolatile fi...Mon P Wang
2010-04-02Revert r100193 since it causes failures in objc in clangMon P Wang
2010-04-02Reapply patch for adding support for address spaces and added a isVolatile fi...Mon P Wang
2010-03-30Revert Mon Ping's 99930 due to broken llvm-gcc buildbots.Bob Wilson
2010-03-30Added support for address spaces and added a isVolatile field to memcpy, memm...Mon P Wang
2010-03-19Change CodeGenModule to rely on the Module's symbol table instead ofJohn McCall
2010-03-12Fix a rare corner case bug which exposed a serious block API generationFariborz Jahanian
2010-03-10set alignment on static locals properly, patch by Arnaud de Grandmaison!Chris Lattner
2010-02-09IRgen: Add CreateMemTemp, for creating an temporary memory object for a parti...Daniel Dunbar
2010-02-08Reapply r95393, without the change to CGExpr. I was wrong in assuming that theDaniel Dunbar
2010-02-07Use the right linkage for static variables inside C++ inline functions.Anders Carlsson
2010-02-05Revert r95393, which broke Clang's self-host.Douglas Gregor
2010-02-05IRgen: Use hasAggregateLLVMType instead of isSingleValueType() for cases thatDaniel Dunbar
2010-02-03Revert the new reference binding code; I came up with a way simpler solution ...Anders Carlsson
2010-01-31Start creating CXXBindReferenceExpr nodes when binding complex types to refer...Anders Carlsson
2010-01-27Change the return type of ASTContext::getDeclAlignInBytes() to CharUnits and,Ken Dyck
2010-01-26Introduce CodeGenModule::GetTargetTypeStoreSize() to calculate the store sizeKen Dyck
2010-01-26Make sure to always mark a global variable as not being constant if it has a ...Anders Carlsson
2010-01-11Roll out ASTContext::getTypeSizeInChars(), replacing instances ofKen Dyck
2009-12-24Pass ReturnValueSlot to EmitCall. No functionality change yet.Anders Carlsson
2009-12-22Move the implementation of ASTContext::getTypeSizeInChars() to the .cpp file toKen Dyck
2009-12-18Change the return type of ASTContext::getTypeSizeInChars() from uint64_t to theKen Dyck
2009-12-18Rename getByteSize() and getTypeSizeInBytes() in ASTContext to getCharWidth()Ken Dyck
2009-12-09Add cleanups for exceptional edges. WIP.Mike Stump
2009-12-08Use StringRef in CGDebugInfo::EmitFunctionStart.Benjamin Kramer
2009-12-08Use a Twine to concatenate the name instead of going through std::string.Benjamin Kramer
2009-12-05implement rdar://7346691 by codegen'ing struct/array initializersChris Lattner
2009-12-05simplify a condition and add a testcase.Chris Lattner
2009-12-03Handle static_assert inside functions.Anders Carlsson
2009-12-02Add missing branch to exit. Seemingly obvious when I look at theMike Stump
2009-11-29Don't pass false (default) for isVolatile parameter to CreateLoad.Daniel Dunbar
2009-11-24Rename CleanupScope -> DelayedCleanupBlock. No functionality change.Douglas Gregor
2009-11-23Teach CodeGenFunction::EmitDecl to ignore Using and UsingShadow decls.Daniel Dunbar
2009-11-18Trim whitespace.Mike Stump
2009-11-12Move CompileOptions -> CodeGenOptions, and sink it into the CodeGen library.Chandler Carruth
2009-11-09Make sure that Type::getAs<ArrayType>() (or Type::getAs<subclass ofDouglas Gregor
2009-11-04This patch extends CleanupScope to support destructionFariborz Jahanian
2009-11-04Merge constant array and structures. This will create a global variables for ...Tanya Lattner
2009-11-03Refine volatile handling, specifically, we must have the canonicalMike Stump
2009-10-29Patch for destruction of array of objects on block exit.Fariborz Jahanian
2009-10-21Fix 80-col violation.Mike Stump
2009-10-16ignore 'using' directive in CodeGenFunction::EmitDecl(). this fixes PR5085Nuno Lopes
2009-10-13Simplify pointer creation with the new Type::getInt*Ptr methods.Benjamin Kramer