jbcoe added a comment.

If I remove `= delete` from the declaration of the member function `foo` in 
test/Index/index-file.cpp line 36 then `foo` is reported in the output as

  [indexDeclaration]: kind: c++-instance-method | name: foo | USR: 
c:@S@B@F@foo# | lang: C++ | cursor: CXXMethod=foo:36:8 | loc: 36:8 | 
semantic-container: [B:27:7] | lexical-container: [B:27:7] | isRedecl: 0 | 
isDef: 0 | isContainer: 0 | isImplicit: 0

with `=delete` in place, `foo` is not reported at all.

This is a behaviour change since I wrote this patch. I'm not sure what the 
correct behaviour should be. I can update the test and not check for the 
deleted function `foo` when we are confident that behaviour is correct.

The changed behaviour (not reporting deleted functions) is not part of my patch.


http://reviews.llvm.org/D15469



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to