- Apr 14, 2009
-
-
Steve Naroff authored
This fixes <rdar://problem/6782722> XCDataTipsManager.m registers, observes notifications in class methods. The radar above is the result of clang typing 'self' in a class method as 'Class', which results in some spurious warnings (GCC types 'self' in a class method as 'id'). I considered changing the type of 'self' to 'id' (to conform to GCC), however this resulted in *many* test cases breaking. In addition, I really prefer a more strongly typed 'self'. All in all, this is the least obtrusive fix I could find for removing the spurious warnings (though we do loose some valid warnings). llvm-svn: 69041
-
Daniel Dunbar authored
- Pull out SetCommonAttributes, which handles the things common to aliases, methods, functions, and variables. - Pull out SetLLVMFunctionAttributesForDefinition, which handles the LLVM attributes which we only want to apply to a definition (like noinline and alwaysinline). - Kill SetGVDeclarationAttributes (inlined into SetFunctionAttributes and specialized). - Kill SetFunctionAttributesForDefinition (inlined into sole caller). - Inline SetGVDefinitionAttributes into SetMethodAttributes and specialize. - Rename SetGVDefinitionAttributes to SetFunctionDefinitionAttributes. This is supposed to be a no functionality change commit, but I may have made a mistake. llvm-svn: 69036
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 69035
-
Daniel Dunbar authored
disambiguate it. - No functionality change. llvm-svn: 69034
-
Daniel Dunbar authored
llvm-svn: 69033
-
Chris Lattner authored
not in c89 mode). llvm-svn: 69032
-
Chris Lattner authored
inlined for some reason, then we don't want a strong or even weak definition. llvm-svn: 69031
-
Chris Lattner authored
llvm-svn: 69030
-
Daniel Dunbar authored
llvm-svn: 69029
-
Chris Lattner authored
llvm-svn: 69028
-
Daniel Dunbar authored
llvm-svn: 69027
-
Chris Lattner authored
llvm-svn: 69026
-
Chris Lattner authored
llvm-svn: 69025
-
Chris Lattner authored
t.c:3:8: warning: extra tokens at end of #endif directive #endif foo ^ // Don't do this in strict-C89 mode because bcpl comments aren't valid there, and it is too much trouble to analyze whether C block comments are safe. llvm-svn: 69024
-
Chris Lattner authored
Warning to properly report that it is an import/include_next instead of claiming it is a #include. llvm-svn: 69023
-
Mike Stump authored
llvm-svn: 69021
-
Daniel Dunbar authored
- Exposed quite a few Sema issues and a CodeGen crash. - See FIXMEs in test case, and in SemaDecl.cpp (PR3983). I'm skeptical that __private_extern__ should actually be a storage class value. I think that __private_extern__ basically amounts to extern A __attribute__((visibility("hidden"))) and would be better off handled (a) as that, or (b) with an extra bit in the VarDecl. llvm-svn: 69020
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 69019
-
Mike Stump authored
llvm-svn: 69010
-
Mike Stump authored
llvm-svn: 69009
-
Steve Naroff authored
llvm-svn: 69007
-
Douglas Gregor authored
non-inline external definitions (and tentative definitions) that are found at the top level. The corresponding declarations are stored in a record in the PCH file, so that they can be provided to the ASTConsumer (via HandleTopLevelDecl) when the PCH file is read. llvm-svn: 69005
-
Steve Naroff authored
This was exposed as a result of something else that was recently fixed. llvm-svn: 69004
-
Douglas Gregor authored
expression or statement serialization before we can test them. llvm-svn: 69002
-
Douglas Gregor authored
llvm-svn: 68997
-
- Apr 13, 2009
-
-
Eli Friedman authored
implies an all-zero bit pattern. llvm-svn: 68994
-
Eli Friedman authored
llvm-svn: 68992
-
Eli Friedman authored
Northover. llvm-svn: 68991
-
Daniel Dunbar authored
llvm-svn: 68990
-
Douglas Gregor authored
handle the definition of __builtin_va_list on x86-64, eliminate the forced -triple in PCH tests to get better coverage. llvm-svn: 68988
-
Daniel Dunbar authored
- No functionality change. llvm-svn: 68987
-
Douglas Gregor authored
llvm-svn: 68985
-
Douglas Gregor authored
Objective-C types and record types for the moment. llvm-svn: 68984
-
Daniel Dunbar authored
codegenerator bug. llvm-svn: 68983
-
Steve Naroff authored
llvm-svn: 68982
-
Chris Lattner authored
llvm-svn: 68980
-
Fariborz Jahanian authored
setter/getter synthesis. llvm-svn: 68976
-
rdar://problem/6780904Steve Naroff authored
Fixed crasher in <rdar://problem/6780904> [irgen] Assertion failed: (Result == conversionOK && "UTF-8 to UTF-16 conversion failed"), function GetAddrOfConstantCFString, file CodeGenModule.cpp, line 1063. Still a diagnostic related FIXME (will discuss with Daniel/Fariborz offline). llvm-svn: 68975
-
Douglas Gregor authored
llvm-svn: 68974
-
Daniel Dunbar authored
llvm-svn: 68972
-