aboutsummaryrefslogtreecommitdiffhomepage
path: root/objectivec/google/protobuf/SourceContext.pbobjc.h
diff options
context:
space:
mode:
authorGravatar Thomas Van Lenten <thomasvl@google.com>2015-06-16 16:45:14 -0400
committerGravatar Thomas Van Lenten <thomasvl@google.com>2015-06-16 17:04:50 -0400
commit8c88957ef375f3b739b6e72ea5c2fb71b12e1fc2 (patch)
tree31b4561aae2a11b1a9b4b7010dc9df10c52a4d72 /objectivec/google/protobuf/SourceContext.pbobjc.h
parent4cbb612299eaf8259db25f5dcda46022fbd1db54 (diff)
Add nonnil markup to ObjC library.
Add the clang annotations to the objc library and generated code to help with Swift bridging and compiler checks.
Diffstat (limited to 'objectivec/google/protobuf/SourceContext.pbobjc.h')
-rw-r--r--objectivec/google/protobuf/SourceContext.pbobjc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/objectivec/google/protobuf/SourceContext.pbobjc.h b/objectivec/google/protobuf/SourceContext.pbobjc.h
index bcbf1e3d..6bc57149 100644
--- a/objectivec/google/protobuf/SourceContext.pbobjc.h
+++ b/objectivec/google/protobuf/SourceContext.pbobjc.h
@@ -11,6 +11,7 @@
CF_EXTERN_C_BEGIN
+NS_ASSUME_NONNULL_BEGIN
#pragma mark - GPBSourceContextRoot
@@ -35,10 +36,12 @@ typedef GPB_ENUM(GPBSourceContext_FieldNumber) {
// The path-qualified name of the .proto file that contained the associated
// protobuf element. For example: `"google/protobuf/source.proto"`.
-@property(nonatomic, readwrite, copy) NSString *fileName;
+@property(nonatomic, readwrite, copy, null_resettable) NSString *fileName;
@end
+NS_ASSUME_NONNULL_END
+
CF_EXTERN_C_END
// @@protoc_insertion_point(global_scope)