diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-01-23 16:58:45 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-01-23 16:58:45 +0000 |
commit | 277b15684582193d26f6c15b40e90a6e45299857 (patch) | |
tree | eaa01275d82e003ea6ee2e9a31158944852853b4 /lib/CodeGen/CodeGenFunction.cpp | |
parent | 145f7b2093a0050621141acd089e09edf6118a09 (diff) |
Introduce CXXRecordDecl::isCLike() that is true if the class is C-like,
without C++-specific features.
Use it to set the language to C++ when indexing non-C-like structs.
rdar://10732579
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148708 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions