"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h" between
cfe-8.0.1.src.tar.xz and cfe-9.0.0.src.tar.xz

About: Clang is an LLVM front end for the C, C++, and Objective-C languages. Clang aims to provide a better user experience through expressive diagnostics, a high level of conformance to language standards, fast compilation, and low memory use.

Environment.h  (cfe-8.0.1.src.tar.xz):Environment.h  (cfe-9.0.0.src.tar.xz)
//===- Environment.h - Map from Stmt* to Locations/Values -------*- C++ -*-===// //===- Environment.h - Map from Stmt* to Locations/Values -------*- C++ -*-===//
// //
// The LLVM Compiler Infrastructure // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// // See https://llvm.org/LICENSE.txt for license information.
// This file is distributed under the University of Illinois Open Source // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
// License. See LICENSE.TXT for details.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
// //
// This file defined the Environment and EnvironmentManager classes. // This file defined the Environment and EnvironmentManager classes.
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#ifndef LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_ENVIRONMENT_H #ifndef LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_ENVIRONMENT_H
#define LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_ENVIRONMENT_H #define LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_ENVIRONMENT_H
skipping to change at line 95 skipping to change at line 94
/// Profile - Used to profile the contents of this object for inclusion /// Profile - Used to profile the contents of this object for inclusion
/// in a FoldingSet. /// in a FoldingSet.
void Profile(llvm::FoldingSetNodeID& ID) const { void Profile(llvm::FoldingSetNodeID& ID) const {
Profile(ID, this); Profile(ID, this);
} }
bool operator==(const Environment& RHS) const { bool operator==(const Environment& RHS) const {
return ExprBindings == RHS.ExprBindings; return ExprBindings == RHS.ExprBindings;
} }
void print(raw_ostream &Out, const char *NL, const char *Sep, void printJson(raw_ostream &Out, const ASTContext &Ctx,
const ASTContext &Context, const LocationContext *LCtx = nullptr, const char *NL = "\n",
const LocationContext *WithLC = nullptr) const; unsigned int Space = 0, bool IsDot = false) const;
}; };
class EnvironmentManager { class EnvironmentManager {
private: private:
using FactoryTy = Environment::BindingsTy::Factory; using FactoryTy = Environment::BindingsTy::Factory;
FactoryTy F; FactoryTy F;
public: public:
EnvironmentManager(llvm::BumpPtrAllocator &Allocator) : F(Allocator) {} EnvironmentManager(llvm::BumpPtrAllocator &Allocator) : F(Allocator) {}
 End of changes. 2 change blocks. 
7 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)