[PATCH] D88645: [Annotation] Allows annotation to carry some additional constant arguments.
    John Brawn via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Oct 26 10:58:27 PDT 2020
    
    
  
john.brawn added a comment.
This also causes the AnnotateFunctions example to no longer build:
  /home/jb/work/llvm-project/clang/examples/AnnotateFunctions/AnnotateFunctions.cpp: In member function ‘virtual bool {anonymous}::AnnotateFunctionsConsumer::HandleTopLevelDecl(clang::DeclGroupRef)’:
  /home/jb/work/llvm-project/clang/examples/AnnotateFunctions/AnnotateFunctions.cpp:36:70: error: no matching function for call to ‘clang::AnnotateAttr::CreateImplicit(clang::ASTContext&, const char [19])’
                                                    "example_annotation"));
                                                                        ^
it looks like it needs to be adjusted for the extra variadic arg that the attribute now has.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88645/new/
https://reviews.llvm.org/D88645
    
    
More information about the llvm-commits
mailing list