Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / Index / index-msguid.cpp
blob4b1ceb7916a223daf07ec1996ef227d0ce8d0a02
1 template <class T, const _GUID &ID = __uuidof(T)>
2 class GUIDHolder {
3 public:
4 virtual ~GUIDHolder() {}
5 };
7 class __declspec(uuid("12345678-1234-5678-ABCD-12345678ABCD")) GUIDInterface {};
9 class GUIDUse : public GUIDHolder<GUIDInterface> {
10 ~GUIDUse() {}
11 // CHECK: RelOver | ~GUIDHolder | c:@S@GUIDHolder>#$@S@GUIDInterface#@MG@GUID{12345678-1234-5678-abcd-12345678abcd}@F@~GUIDHolder#
14 // RUN: c-index-test core -print-source-symbols -- -std=c++11 -fms-extensions %s | FileCheck %s