mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-21 04:25:45 -04:00

Summary: This patch marks the inline namespaces from DWARF as inline and also ensures that looking up declarations now follows the lookup rules for inline namespaces. Reviewers: aprantl, shafik, serge-sans-paille Reviewed By: aprantl Subscribers: eraman, jdoerfert, lldb-commits Tags: #c_modules_in_lldb, #lldb Differential Revision: https://reviews.llvm.org/D59198 llvm-svn: 355897
11 lines
159 B
C++
11 lines
159 B
C++
namespace A {
|
|
inline namespace B {
|
|
int f() { return 3; }
|
|
};
|
|
}
|
|
|
|
int main(int argc, char **argv) {
|
|
// Set break point at this line.
|
|
return A::f();
|
|
}
|