llvm-project/clang/lib
Alex Denisov fde64956f9 [ObjC] Add NSValue support for objc_boxed_expressions
Patch extends ObjCBoxedExpr to accept records (structs and unions):

typedef struct __attribute__((objc_boxable)) _Color {
  int r, g, b;
} Color;

Color color;
NSValue *boxedColor = @(color); // [NSValue valueWithBytes:&color objCType:@encode(Color)];

llvm-svn: 240761
2015-06-26 05:28:36 +00:00
..
ARCMigrate Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
AST [ObjC] Add NSValue support for objc_boxed_expressions 2015-06-26 05:28:36 +00:00
ASTMatchers Move a test from static-assert.cpp to DeclPrinterTest 2015-06-05 22:40:53 +00:00
Analysis Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
Basic [ARM] The bits set in the variable HW_FP could get unset 2015-06-24 23:39:25 +00:00
CodeGen [ObjC] Add NSValue support for objc_boxed_expressions 2015-06-26 05:28:36 +00:00
Driver [CFI] Diagnose when we CFI in diagnostic mode is unavailable on a toolchain. 2015-06-25 23:14:32 +00:00
Edit [edit] Don't hit an assert when trying to delete a trailing space at EOF 2015-03-29 18:07:29 +00:00
Format clang-format: [Proto] Don't treat "operator" as keyword. 2015-06-25 08:38:46 +00:00
Frontend [ObjC] Add NSValue support for objc_boxed_expressions 2015-06-26 05:28:36 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers Add new file from r240741 to CMakeLists.txt. 2015-06-26 00:19:32 +00:00
Index Rename MacroDefinition -> MacroDefinitionRecord, Preprocessor::MacroDefinition -> MacroDefinition. 2015-05-04 02:25:31 +00:00
Lex [ObjC] Add NSValue support for objc_boxed_expressions 2015-06-26 05:28:36 +00:00
Parse [Parse] Allow 'constexpr' in condition declarations 2015-06-25 22:06:40 +00:00
Rewrite Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
Sema [ObjC] Add NSValue support for objc_boxed_expressions 2015-06-26 05:28:36 +00:00
Serialization [ObjC] Add NSValue support for objc_boxed_expressions 2015-06-26 05:28:36 +00:00
StaticAnalyzer Fix a crash by division by zero in analyzer 2015-06-25 14:06:02 +00:00
Tooling Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00