diff options
| author | Douglas Gregor <dgregor@apple.com> | 2011-03-02 21:45:00 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2011-03-02 21:45:00 +0000 |
| commit | 6471db07497a69be3808b7ca14f83f271741818b (patch) | |
| tree | 6250138af194de56bd53efefd7730e42b304158f /clang/lib | |
| parent | 99cc30c371b7c3706bec267fd35019d035913489 (diff) | |
| download | bcm5719-llvm-6471db07497a69be3808b7ca14f83f271741818b.tar.gz bcm5719-llvm-6471db07497a69be3808b7ca14f83f271741818b.zip | |
Force CaseStmt to store its child statements in source-code order,
which is important for libclang's token-annotation and
where's-my-cursor functionality. Fixes <rdar://problem/9004439>.
llvm-svn: 126887
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index 70c405c1323..7e6602fedfe 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/lib/Sema/SemaDecl.cpp @@ -1,3 +1,12 @@ +template<typename T> +struct vector { + +}; + +void f() { + vector<int> v; +} + //===--- SemaDecl.cpp - Semantic Analysis for Declarations ----------------===// // // The LLVM Compiler Infrastructure |

