aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDecl.cpp
AgeCommit message (Expand)Author
2013-04-01Only merge down a variable type if the previous declaration wasJohn McCall
2013-03-29Fix thinko (and the bots): We still want to warn in C.Rafael Espindola
2013-03-29Don't special case one line extern "C" decls.Rafael Espindola
2013-03-28Warn about more than the first unused variable when -Werror is set.Matt Beaumont-Gay
2013-03-28Support C11 _Atomic type qualifier. This is more-or-less just syntactic sugar...Richard Smith
2013-03-26Handle CXXOperatorCallExpr when checking self referrnce during initialization ofRichard Trieu
2013-03-25<rdar://problem/13459871> Allow forward declaration of enums with a fixed und...Douglas Gregor
2013-03-22Fix a crash-on-valid where a block capture copy expression wasJohn McCall
2013-03-21Fix indentationDavid Blaikie
2013-03-20<rdar://problem/12368093> Extend module maps with a 'conflict' declaration, a...Douglas Gregor
2013-03-20Don't look outside the innermost enclosing namespace whenJohn McCall
2013-03-18Add missing diagnostic for a nested-name-specifier on a free-standing type de...Richard Smith
2013-03-14Diagnose about extern "C" functions returning c++ objectsFariborz Jahanian
2013-03-14Avoid computing the linkage too early. Don't invalidate it.Rafael Espindola
2013-03-12Whitespace cleanup.Rafael Espindola
2013-03-12We already reported an error forRafael Espindola
2013-03-12Error if an extern C declaration matches a previous hidden extern C declaration.Rafael Espindola
2013-03-08ArrayRef-ize ASTContext::getFunctionType and Sema::BuildFunctionType.Jordan Rose
2013-03-07Improve LLDB's implicit cast-to-id to work with C++11 auto and any Objective-...Douglas Gregor
2013-03-07When possible, move __block variables to the heap rather than copying them.Douglas Gregor
2013-03-07Add a hasExternalLinkage helper. No functionality change.Rafael Espindola
2013-03-06PR15390: If a function returns a pointer to a function, that function typeRichard Smith
2013-03-05Silence a number of static analyzer warnings with assertions and such.Jordan Rose
2013-03-02Process #pragma weak only after we know the linkage of the function or variableRafael Espindola
2013-02-26Fix assertion failure when a field is given an address space.Matt Arsenault
2013-02-22Make sure pragmas don't attach visibility attributes to auto variables withRafael Espindola
2013-02-22Fix MergeFunctionDecl implicit CC for static methods.Timur Iskhodzhanov
2013-02-22Implement C++11 [dcl.align]p6-p8, and C11 6.7.5/7. This had to be split out ofRichard Smith
2013-02-22[libclang] Fix a crash with invalid code, while skip function bodies is enabled.Argyrios Kyrtzidis
2013-02-20Add a new 'type_visibility' attribute to allow users toJohn McCall
2013-02-18Replace TypeLoc llvm::cast support to be well-defined.David Blaikie
2013-02-15Make helper functions static.Benjamin Kramer
2013-02-14merge hasCLanguageLinkage and isExternC. Keep the shorter name.Rafael Espindola
2013-02-14Add a getLanguageLinkage method to VarDecls and FunctionDecls. Use it to fixRafael Espindola
2013-02-07Add OpenCL samplers as Clang builtin types and check sampler related restrict...Guy Benyei
2013-02-01For ModuleLoader::makeModuleVisible() also pass the source location where theArgyrios Kyrtzidis
2013-02-01Add a new -Wundefined-inline warning for inline functions which are used but notNick Lewycky
2013-02-01Implement [dcl.align]p5 and C11 6.7.5/4: alignas cannot underalign.Richard Smith
2013-01-31Remove elements from Sema.UndefinedInternals as functions are defined. AlsoNick Lewycky
2013-01-31Clarify the diagnostic for -Wnested-anon-types.Richard Smith
2013-01-30Add OpenCL error that a kernel function must have void return type. Includes ...Tanya Lattner
2013-01-30Semantic analysis and CodeGen support for C11's _Noreturn. This is modeled asRichard Smith
2013-01-30Provide a fixit for constexpr non-static data members.David Blaikie
2013-01-29Move -Wstatic-float-init fixit into a note & don't recover as if constexprDavid Blaikie
2013-01-29Don't fixit/recover from -Wstatic-float-init when it's not an error.David Blaikie
2013-01-29Mark a struct definition in an objc container with the TopLevelDeclInObjCCont...Argyrios Kyrtzidis
2013-01-29Add a diagnostic for an OpenCL kernel with a pointer pointer argument.Joey Gouly
2013-01-29PR15100: look through type sugar when determining whether we have one of theRichard Smith
2013-01-28Finish semantic analysis for [[carries_dependency]] attribute.Richard Smith
2013-01-28Undo my re-wording of the "ARC forbids Objective-C objects in ..."Douglas Gregor