tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

BindingOperations.h (956B)


      1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* This Source Code Form is subject to the terms of the Mozilla Public
      3 * License, v. 2.0. If a copy of the MPL was not distributed with this
      4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      5 
      6 #include <clang/AST/ASTContext.h>
      7 #include <clang/AST/Decl.h>
      8 #include <clang/AST/DeclCXX.h>
      9 #include <llvm/Support/JSON.h>
     10 
     11 void findBindingToJavaClass(clang::ASTContext &C, clang::CXXRecordDecl &klass);
     12 void findBoundAsJavaClasses(clang::ASTContext &C, clang::CXXRecordDecl &klass);
     13 void findBindingToJavaFunction(clang::ASTContext &C,
     14                               clang::FunctionDecl &function);
     15 void findBindingToJavaMember(clang::ASTContext &C,
     16                             clang::CXXMethodDecl &method);
     17 void findBindingToJavaConstant(clang::ASTContext &C, clang::VarDecl &field);
     18 
     19 void emitBindingAttributes(llvm::json::OStream &json, const clang::Decl &decl);