diff options
author | Steve Naroff <snaroff@apple.com> | 2008-08-13 16:39:22 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-08-13 16:39:22 +0000 |
commit | f11b5088ec16b27d526489b10da20273eb268975 (patch) | |
tree | 4b68234068fabaae0467f48624e5410991505de1 /lib/CodeGen/ModuleBuilder.cpp | |
parent | 298419aad5fb49f2623d73abec93d582e8b32067 (diff) |
Sema::ActOnStartProtocolInterface(): Make sure the protocol decl has a valid start location.
The following case resulted in an invalid start location:
// start location not being set for ObjCProtocolDecl AST (when a forward reference is in scope).
@protocol Buggy;
@protocol Buggy
@optional
- whatever;
@end
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54740 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions