aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-11-01 23:26:51 +0000
committerTed Kremenek <kremenek@apple.com>2010-11-01 23:26:51 +0000
commit007a7c9d8dcdb2e9cd94b6075108bfc4c90e6ccd (patch)
treeeb3bf66b6703d61ed0dd1281f655429b870e9e3c /lib/Basic/SourceManager.cpp
parent90d26a4afdbf6d917a5241ef3b316e1c8337c9b8 (diff)
Encapsulate within CXCursor the notion of whether a VarDecl* is the first Decl in a DeclGroup. We use this
to recover some context that is currently not modeled directly in the AST. Currently VarDecl's cannot properly determine their source range because they have no context on whether or not they appear in a DeclGroup. For the meantime, this bandaid suffices in libclang since that is where the correct SourceRange is directly needed. Fixes <rdar://problem/8595749>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117973 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions